Bootstraps 4 引入报错 Error: Bootstrap tooltips require Tether


问题:

解决办法 (http://github.hubspot.com/tether/)

Bootstrap 4 needs Tether, so you need to include tether.min.js before you include bootstrap.min.js, eg. 必须引入Tether.js,打开 https://npmcdn.com/bootstrap@4.0.0-alpha.5/dist/js/bootstrap.min.js 得到文件内容,复制新建一个文件保存再引入改JavaScript文件!

<script src="https://npmcdn.com/tether@1.2.4/dist/js/tether.min.js"></script>
<script src="https://npmcdn.com/bootstrap@4.0.0-alpha.5/dist/js/bootstrap.min.js">


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM