@nx/angular:ngrx-root-store
Adds NgRx support to an application.
Webinar April 17: Making the Argument for MonoreposWebinar April 17: Making the Argument for MonoreposRegister now!
Adds NgRx support to an application.
1nx generate ngrx-root-store ...
2
By default, Nx will search for ngrx-root-store
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/angular:ngrx-root-store ...
2
Show what will be generated without writing to disk:
1nx g ngrx-root-store ... --dry-run
2
The name of the application to generate the NgRx configuration for.
true
Only register the root state management setup or also generate a global feature state.
Name of the NgRx state, such as products
or users
. Recommended to use the plural form of the name.
false
Instrument the Store Devtools.
+state
The name of the folder used to contain/group the generated NgRx files.
false
Create a Facade class for the the feature.
''
The route that the Standalone NgRx Providers should be added to.
false
Generate NgRx feature files without registering the feature in the NgModule.
false
Skip formatting files.
false
Do not update the package.json
with NgRx dependencies.