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