在角度 8 中使用 cli 添加 ng-zorro-antd 时遇到此问题。按照以下步骤操作:
- 生成新的 PROJECT_NAME
- cd PROJECT_NAME
- ng 添加 ng-zorro-antd
我的配置是:
Angular CLI: 7.2.1
Node: 10.15.3
OS: win32 x64
@angular-devkit/architect 0.12.1 (cli-only)
@angular-devkit/core 7.2.1 (cli-only)
@angular-devkit/schematics 7.2.1 (cli-only)
@schematics/angular 7.2.1 (cli-only)
@schematics/update 0.12.1 (cli-only)