2016-05-20 11 views
2

Webアプリケーションでaurelia-dialogを使用していて、すべて正常に動作します。
しかし、私は(輸出をglup)このアプリケーションをエクスポートするときにロード、私はこのエラーを持っている:Aureliaとaurelia-dialogをバンドルする方法は?

Error: XHR error (404 Not Found) loading http://localhost/myApp/jspm_packages/npm/[email protected]/resources/ai-dialog.html Error loading http://localhost/myApp/jspm_packages/npm/[email protected]/resources/ai-dialog.html!http://localhost/myApp/jspm_packages/github/systemjs/[email protected] Error loading http://localhost/myApp/jspm_packages/npm/[email protected]/resources/ai-dialog.html!template-registry-entry

マイbundles.js内容:

.... 
"dist/aurelia": { 
    "includes": [ 
    "aurelia-framework", 
    "aurelia-bootstrapper", 
    "aurelia-fetch-client", 
    "aurelia-router", 
    "aurelia-animator-css", 
    "aurelia-templating-binding", 
    "aurelia-polyfills", 
    "aurelia-templating-resources", 
    "aurelia-templating-router", 
    "aurelia-loader-default", 
    "aurelia-history-browser", 
    "aurelia-logging-console", 
    "aurelia-event-aggregator", 
    "bootstrap", 
    "bootstrap/css/bootstrap.css!text", 
    "aurelia-dialog", 
    "aurelia-i18n", 
    "text", 
    "i18next-xhr-backend", 
    "fetch" 
    ] 
    ..... 

任意のアイデア?

答えて

4

その.html(および.css)ファイルも含めてください。

.... 
"dist/aurelia": { 
    "includes": [ 
    "aurelia-framework", 
    "aurelia-bootstrapper", 
    "aurelia-fetch-client", 
    "aurelia-router", 
    "aurelia-animator-css", 
    "aurelia-templating-binding", 
    "aurelia-polyfills", 
    "aurelia-templating-resources", 
    "aurelia-templating-router", 
    "aurelia-loader-default", 
    "aurelia-history-browser", 
    "aurelia-logging-console", 
    "aurelia-event-aggregator", 
    "bootstrap", 
    "bootstrap/css/bootstrap.css!text", 
    "aurelia-dialog", 
    "aurelia-dialog/resources/ai-dialog*.html!text", // <- like this 
    "aurelia-dialog/dialog.css!text", // <- CSS file 
    "aurelia-i18n", 
    "text", 
    "i18next-xhr-backend", 
    "fetch" 
    ] 
    ..... 
関連する問題