[英]Angular2 rc.6 with google-maps and jspm / systemjs can't seem to point to core.umd
使用angular2和jspm,我似乎无法指向新的Google Maps主文件:core.umd.js(systemjs继续尝试加载core.js而不是core.umd.js)
谷歌地图项目: https : //github.com/SebastianM/angular2-google-maps core.umd
如果我手动复制core.umd.js> core.js,一切都很好...(但这当然不是解决方案)。
我的设置是:
map: {
"angular2-google-maps": "npm:angular2-google-maps@0.14.0/core",
```
packages: {
"StudioDashboard": {
"main": "StudioDashboard.js"
},
"angular2-google-maps": {
"defaultExtension": "js"
},
有关完整的配置,请参见: https : //github.com/born2net/studioDashboard/blob/master/jspm.config.js
任何建议表示赞赏,
问候
肖恩
您应该将map
更改为下面,以便它将core.umd
作为源。
map: {
"angular2-google-maps": "npm:angular2-google-maps@0.14.0/core.umd"
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.