简体   繁体   English

Laravel5.6 + vuejs bootstrap 3.3.7 下拉菜单不起作用

[英]Laravel5.6 + vuejs bootstrap 3.3.7 dropdown not working

I use laravel 5.6, vuejs, and Bootstrap 3.3.7 as soon as I add the file app.js my dropdown stops working it asks popper.js When I added popper it returns another error "Uncaught TypeError: Cannot read property 'jquery' of null at new Popper " enter image description here我在添加文件 app.js 后立即使用 laravel 5.6、vuejs 和 Bootstrap 3.3.7,我的下拉菜单停止工作,它询问 popper.js 当我添加 popper 时,它返回另一个错误“未捕获的类型错误:无法读取属性 'jquery' null at new Popper"在此处输入图像描述

I think the popper plugin you installed needs jquery.我觉得你安装的popper插件需要jquery。 Can you try this https://www.npmjs.com/package/vue-popperjs你能试试这个https://www.npmjs.com/package/vue-popperjs

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM