I ran ng generate feature FeatureName
and got this error:
Error: Schematic "feature" not found in collection "@schematics/angular".
To resolve this issue I had to add @ngrx/schematics
again to the Angular project. I ran the following in the project folder:
ng add @ngrx/schematics
I was asked about “using @ngrx/schematics
as a default collection” and provided a positive answer:
After this ng generate feature FeatureName
was started to work: