【发布时间】:2019-04-21 06:47:54
【问题描述】:
我构建了一个简单的 Angular Schematics,名为:my-schematics。
我能够将(使用 angular cli)我的原理图添加到某个项目中。
当我运行ng update my-schematics 时出现错误提示:
Not found : my-schematic.
我不知道为什么。这是我的collection.json:
"schematics": {
"update": {
"description": "Updates version test",
"factory": "./ng-update/index#update"
}
}
【问题讨论】:
标签: angular angular-schematics