ng new MyApp --prefix=ma --routing --style=scss --directory=webapp
cd webapp
ng add @angular/material
ng add @angular/pwa
npm i -s @angular/flex-layout @angular/cdk
@NgModule({
...
imports: [ FlexLayoutModule ],
...
});
npm install @ngrx/schematics --save-dev
npm install @ngrx/{store,effects,entity,router-store,store-devtools} --save
ng generate @ngrx/schematics:store State --root --module app.module.ts
ng generate @ngrx/schematics:effect App --root --module app.module.ts
ng generate module store/AppStore --flat
ng generate @ngrx/schematics:store AppState --root --state-path store/reducer --module=store/app-store.module.ts
ng generate @ngrx/schematics:effect store/App --root --group --module=store/app-store.module.ts --spec=false
ng add @ngrx/router-store --module store/app-store.module.ts
ng config cli.defaultCollection @ngrx/schematics
ng g m venda/store/VendaStore --flat
ng g @ngrx/schematics:feature venda/store/Venda -m venda/store/venda-store.module.ts