@nx/angular:ngrx-root-store
Adds NgRx support to an application.
Adds NgRx support to an application.
nx generate ngrx-root-store ...
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:
nx g @nx/angular:ngrx-root-store ...
Show what will be generated without writing to disk:
nx g ngrx-root-store ... --dry-run
The 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. Note: This is only supported in Angular versions >= 14.1.0.
falseGenerate NgRx feature files without registering the feature in the NgModule.
falseSkip formatting files.
falseDo not update the package.json with NgRx dependencies.