rgen
The CLI for React Gen framowrok Install the CLI globally in your machine
npm install -g @noopejs/rgen
Setup your new React Gen app
rgen new app myApp
Navigate to your new project and run development server
cd myApp && npm run dev
Generate new module
rgen new module about
This command will generate the following files:
src/
-- about/
---- about.module.ts
---- about.service.ts
---- about.component.tsx
It's also possible to generate a single unit [moduleClass, service, moduleComponent] by specifying option as follows:
rgen new moduleClass about
rgen new service about
rgen new moduleComponent about