添加Bootstrap(v4.0.0-alpha.5)后,我收到以下错误。
bootstrap.js:2676 Uncaught Error: Bootstrap tooltips require Tether (http://tether.io/)(…)
我不想使用工具提示功能,需要使用tether.min.js进行自举,因此我不想添加额外的tether.min.js。
无论如何使用bootstrap 4而不添加tether.min.js?
答案 0 :(得分:0)
根据https://github.com/twbs/bootstrap/issues/18732#issuecomment-168243561,您必须手动排除tooltip.js并可能构建一个新的缩小版bootstrap.js,以便在不包含tether.min.js的情况下摆脱此错误。