@nx/angular:ngrx-root-store
Adds NgRx support to an application.
Adds NgRx support to an application.
1nx generate ngrx-root-store ...
2By 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 ...
2Show what will be generated without writing to disk:
1nx g ngrx-root-store ... --dry-run
2The name of the application to generate the NgRx configuration for.
trueOnly 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.
falseInstrument the Store Devtools.
+stateThe name of the folder used to contain/group the generated NgRx files.
falseCreate a Facade class for the the feature.
''The route that the Standalone NgRx Providers should be added to.
falseGenerate NgRx feature files without registering the feature in the NgModule.
falseSkip formatting files.
falseDo not update the package.json with NgRx dependencies.