我正在使用Angular 2 See d 应用程序并尝试安装 KendoUI Angular2 控件。
种子使用 SystemJS,但在npm start
. 我尝试使用 from here添加外部依赖项,但无法使其正常工作。
我明白了
Failed to load resource: the server responded with a status of 404 (Not Found)
localhost/:47 Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:5555/node_modules/@progress/kendo-angular-inputs.js(…) "Report this error at https://github.com/mgechev/angular2-seed/issues"
这是我尝试添加的内容/tools/config/project.config.ts
this.SYSTEM_CONFIG_DEV.paths['@progress/kendo-angular-inputs'] =
`node_modules/@progress/kendo-angular-inputs`;
this.SYSTEM_BUILDER_CONFIG.packages['@progress/kendo-angular-inputs'] = {
main: './dist/npm/js/main.js',
defaultExtension: 'js'
};