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

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/41733889/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 15:09:43  来源:igfitidea点击:

Uncaught Error: Bootstrap tooltips require Tether (http://tether.io/) at bootstrap.min.js:7

laraveltethermin.js

提问by Eva Reyrian

I am beginner in laravel, so can anyone help me to figure this out ? In /public/app.blade.php look like this

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

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

回答by Jaymin Panchal

Just add tether dependency in your code.

只需在您的代码中添加系绳依赖项。

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

or download the Tetherlocally from

或从Tether本地下载

https://github.com/HubSpot/tether

https://github.com/HubSpot/tether

add add to your project

添加添加到您的项目

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