Support the ongoing development of Laravel.io →
posted 4 years ago
Mix
Last updated 1 year ago.
0

hi, did you find a solution? is because of Jquery, i had a same problem, try this on you webpack.mix.js

mix.autoload({ jquery: ['$', 'window.$', 'window.jQuery'] });

and on resources/js/bootstrap.js this (only change the "window" to "global"):

try { window.Popper = require('popper.js').default; global.$ = global.jQuery = require('jquery'); require('bootstrap'); } catch (e) {}

Last updated 4 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

iign iign Joined 23 Mar 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.