繁体   English   中英

带有谷歌地图和jspm / systemjs的Angular2 rc.6似乎无法指向core.umd

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM