Uncaught Error: Bootstrap‘s JavaScript requires jQuery at bootstrap.min.js:6

 

 

 

由于bootstrap的js文件也要依赖于jquery,所以在对这些资源文件导入方式封装时需要注意顺序,该报错情况只需把jquery放在bootstrap的上面即可

posted @ 2022-09-09 14:59  shclbear  阅读(69)  评论(0)    收藏  举报