Bootstrap 4 webpack without modal and carousel elements...
Created by: ghost
Hi all!
I'm using bootstrap 4.1 in my laravel project. Bootstrap building with laravel-mix, I would like to use a bootstrap without modal and carousel elements.
window._ = require('lodash');
window.Popper = require('popper.js').default;
/**
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
* for JavaScript based Bootstrap features such as modals and tabs. This
* code may be modified to fit the specific needs of your application.
*/
try {
window.$ = window.jQuery = require('jquery');
require('bootstrap');
} catch (e) {}
Please help the newcomer in this matter...