Reference:
In a single angular app
ng new sample-app
cd sample-app
ng generate module todo
ng generate feature todo/Todo --module=todo --api --creators --spec=false
In nx.dev workspace
# generate using ngrx v7
ng g @nrwl/angular:ngrx todo --module=libs/todo/src/lib/todo.module.ts --facade
# copy effect, action, reduce code from v8 over
ng generate feature todo/Todo --module=todo --api --creators --spec=false
ng g @nrwl/angular:lib frontend-feature-user-workspace \
--routing \
--tags=scope:frontend \
--style=scss
ng g @nrwl/angular:ngrx user-workspace \
--root=false \
--facade \
--module=libs/frontend-feature-user-workspace/src/lib/frontend-feature-user-workspace.module.ts