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"
}
}
MIT