0.1.2 • Published 3 years ago
angular-custom-schematics v0.1.2
开始
此仓库是生成自定义angular schematics
安装
npm i angular-custom-schematics --save-dev
或
yarn add angular-custom-schematics -D
使用
在项目根目录下创建._cli-tpl文件夹, 然后执行
# >ng g angular-custom-schematics:tpl --name= --tplName=files
具体模板写法参考 https://www.npmjs.com/package/@angular-devkit/schematics