1.0.2 • Published 7 years ago
@esagawe/angular-schematics v1.0.2
Custom angular schematics
Differences to the original angular schematics
- Use four spaces as a single tab
- Always include router with
ng new
- Don't include empty contructors or ngOnInit() methods
- Include
@esagawe/angular-schematics
as npm package withng new
- Use
@esagawe/angular-schematics
as default schematics colleciton inangular-cli.json
Installation
- Install with
npm i @esagawe/angular-schematics
in some kind of tmp directory - Copy
@esagawe\angular-schematics
fromnode_modules
to theYOUR_GLOBAL_NPM_PATCH\node_modules\@angular\cli\node_modules
(yeah, I know it's dirty...) - Use
ng new --collection=@esagawe/angular-schematics myApp