关于bootstrap报错

在使用bootstrap报错。报错的位置如下

if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a)

解决方法这是由于引入的文件顺序不对引起的,应该先引入jQuery然后在引入bootstrap的css文件就解决报错的问题了。

原文地址:https://www.cnblogs.com/accolade/p/10691775.html