0

我只需执行以下操作:

ng new my-proj
cd my-proj
ng add @angular/material

我得到以下错误的回应:

您的项目未使用默认配置进行构建和测试。Angular Material 原理图只能与默认
配置一起使用

严重地??还有谁?

配置:

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.8.1
@angular-devkit/build-angular     0.8.1
@angular-devkit/build-optimizer   0.8.1
@angular-devkit/build-webpack     0.8.1
@angular-devkit/core              0.8.1
@angular-devkit/schematics        0.8.1
@angular/cli                      6.2.1
@angular/material                 6.4.7
@ngtools/webpack                  6.2.1
@schematics/angular               0.8.1
@schematics/update                0.8.1
rxjs                              6.2.2  
typescript                        2.9.2
webpack                           4.19.0
4

0 回答 0