0
错误导入路径(反斜线)要angular-cli
在app.module.ts
创建组件,运行ng g component webapi.component
并获得以外行的所有文件:角CLI:纳克G分量生成app.module
import { WebapiComponent } from './components\webapi/webapi.component';
任何想法whhy `./components \'后面出现反斜杠?