Bootstrap 4をに追加しようとしていAureliaます。を機能させることしかできませんCSSが、bootstrap.js必要なTetherものを含めることはできません。コンソールでこのエラーが発生し続けるためです。
Bootstrap tooltips require Tether
私はこれに沿って何かを試しました
"jquery",
"Tether",
{
"name": "tether",
"path": "../node_modules/tether/dist",
"main": "js/tether.min",
"exports": "Tether",
"resources": [
"css/tether.css"
]
},
{
"name": "bootstrap",
"path": "../node_modules/bootstrap/dist",
"main": "js/bootstrap.min",
"deps": ["tether", "jquery"],
"exports": "$",
"resources": [
"css/bootstrap.css"
]
},
バンドルされていますが、まだ欠落していると不平を言っていTetherます。 これで Tether requirejs.config.js` を作成する必要がある別のスタックの回答を読みましたavailable globally which could be done via
define(['lib/tether.min'], function(tether) {
window.Tether = tether;
});
しかし、そのような構成はありませんAurelia。