0
私はaurelia-uxを動作させようとしていますが、できません。Aurelia UXを使い始める方法
デモアプリケーションがありますが、0.3.1に基づいていますが0.6.1があります。そしてそれはかなりのものが変わったようです。
存在するaurelia-uxの最新のnpmパッケージは0.3.0なので、これは使用するものではないと思います。パッケージaurelia-ux/componentsは、0.6.1パッケージが存在するため、使用するように見えます。
"dependencies": {
"@aurelia-ux/components": "^0.6.1",
そして、私のaurelia.jsonへ:
は、だから、私はpackage.jsonに追加 {
"name": "aurelia-ux",
"path": "../node_modules/@aurelia-ux/components/dist/amd",
"main": "index",
"resources": ["**/*.{css,html}"]
}
そして、これは私のビルド出力で私これを与える:
Tracing aurelia-ux...
------- File not found or not accessible ------
| Location: C:/Work/Dat/AuFront/src/@aurelia-ux/button.js|
| Requested by: C:\Work\Dat\AuFront\node_modules\@aurelia-ux\components\dist\amd\index.js
| Is this a package? Make sure that it is configured in aurelia.json and that it is not a Node.js package
これはパス参照の問題のように見えますか?実際の例がある人はいますか?
アウレリア-UX @/コンポーネント
そしてAurelia.jsonでこれを追加し
: {
"name": "@aurelia-ux/core",
"path": "../node_modules/@aurelia-ux/core/dist/amd",
"main": "index",
"resources": ["**/*.{css,html}"]
},
をそして