Skip to content

NetanelBasal/ngrx-generator

Repository files navigation

ngrx-generator

Save yourself the headache of Redux boilerplate Awesome

Demo

Getting Started

Install it via npm:

npm install ngrx-generator -g
ngrx-gen

By default, it will create the templates in the current directory. If you prefer the ngrx/example style -

- reducers
- services
- actions
- effects
- services

you can add the following line to your package.json

{
 "ngrxGen": {
   "basePath": "./src/app", // optional - this should be relative to your root package.json file
   "seperateDirectory": "true"
 }
}

Demo

License

MIT