Hello guys, before you start to read this thread, i must say what my english so bad, but i hope you will understand all of this.
Thanks for your time!
I have this trouble:
I don't want to use require('bootstrap') in app.js because laravel mix will build it again and again, so, i want to migrate bootstrap from app.js to vendor.js. To do this, i load boostrap in mix.autoload
'bootstrap':'bootstrap'
but browser don't see bootstrap and with ckeditor (classeditor) this trouble repeating too.
Laravel mix bootstrap & ckeditor
Hello guys, before you start to read this thread, i must say what my english so bad, but i hope you will understand all of this.
Thanks for your time!
I have this trouble: I don't want to use require('bootstrap') in app.js because laravel mix will build it again and again, so, i want to migrate bootstrap from app.js to vendor.js. To do this, i load boostrap in mix.autoload 'bootstrap':'bootstrap' but browser don't see bootstrap and with ckeditor (classeditor) this trouble repeating too.
How can i fix it?
mix.js('resources/js/app.js', 'public/js') .extract(['jquery', 'jquery-easing', 'bootstrap']) .sass('resources/sass/app.scss', 'public/css', { outputStyle: 'compressed' });
mix.autoload({ 'jquery': ['$', 'window.jQuery', 'jQuery'], 'bootstrap':'bootstrap' });