@nx/angular:ngrx-root-store
Adds NgRx support to an application.
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.
Watch the replays of exciting talks on developer tooling and monorepos! Catch all the insightful presentations from the event on our YouTube channel.