ngrx-enterprise-edition v1.0.3
ngrx-enterprise-edition
A scaffolding library for using ngrx in an enterprise environment
what is ngrx-ee?
Inspiration for this ngrx schematic came from the following post on Medium by Wes Grimes (shoutout!). Our team started using a similar process so I wrote a schematic to help automate some of the boilerplate code we were using.
How to Use
To generate the initial boilerplate root-module, run the following:
ng g ngrx-enterprise-edition:generate-rootor using the alias
ng g ngrx-enterprise-edition:g-rThis will generate the files in a generic 'root-module' directory under 'app' (if using an application) or 'lib' (if using a library).
To change the directory name from 'root-module' to something of your choosing, use:
$ ng g ngrx-enterprise-edition:g-r --dirName=someDirTo generate a feature store, run the following:
ng g ngrx-enterprise-edition:generate-store MyFeatureor the alias
ng g ngrx-enterprise-edition:g-st MyFeatureYou can also generate this in a the directory of your choice using:
$ ng g ngrx-enterprise-edition:g-st MyFeature --dirName=someDirAuthors
Tony Scialo
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago