Uncaught Error: Bootstrap's JavaScript requires jQuery

浏览器console报了上面的错误, 发现是bootstrap文件头的检测,

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

 开始以为是jquery.js文件名的原因,最后改成jQuery发现问题依旧

经查找在stackoverflow上面找到了解决问题的办法:原地址:https://stackoverflow.com/questions/22658015/bootstrap-wont-detect-jquery-1-11-0-uncaught-error-bootstraps-javascript-re

解决办法是:  在导入bootstrap之前先导入jquery,

原文地址:https://www.cnblogs.com/Andy963/p/8541128.html