未捕获错误:Bootstrap工具提示需要Tether(http://tether.io/)at bootstrap.min.js:7

时间:2017-01-19 04:41:53

标签: laravel tether min.js

我是laravel的初学者,所以有人能帮助我解决这个问题吗? 在/public/app.blade.php中看起来像这样

<link href="/css/bootstrap.min.css" rel="stylesheet">
<script src="/js/bootstrap.min.js"></script>

1 个答案:

答案 0 :(得分:0)

只需在代码中添加tether依赖项。

<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js"></script> 
<script src="/js/bootstrap.min.js"></script>

或从

本地下载Tether
  

https://github.com/HubSpot/tether

将add添加到您的项目中

<script src="path/to/dist/js/tether.min.js"></script>