npx create-nx-workspace demo-workspace
ng add @nrwl/angular
npx ng g app customer-portal --style scss --routing
ng g ngrx app --module=apps/customer-portal/src/app/app.module.ts
npx ng g app customer-portal --style scss --routing
ng g ngrx app --module=apps/customer-portal/src/app/app.module.ts
ng s customer-portal --port 4201
ng g lib auth --routing --lazy --parent-module=apps/customer-portal/src/app/app.module.ts
//-> --directory=shared
ng g ngrx auth --module=libs/auth/src/lib/auth.module.ts
ng g c container/login
ng g c components/login-form
ghoul007 / workspace-nx Goto Github PK
View Code? Open in Web Editor NEWMonoRepo project