2020-01-22 10:46:53 +01:00
|
|
|
import $ from 'jquery';
|
|
|
|
import './_consts';
|
2018-02-05 12:11:01 +01:00
|
|
|
|
2018-06-23 12:27:06 +02:00
|
|
|
// import Bootstrap
|
|
|
|
import 'popper.js';
|
2018-02-09 13:10:40 +01:00
|
|
|
import 'bootstrap/js/dist/util';
|
|
|
|
import 'bootstrap/js/dist/alert';
|
|
|
|
import 'bootstrap/js/dist/button';
|
|
|
|
import 'bootstrap/js/dist/carousel';
|
|
|
|
import 'bootstrap/js/dist/collapse';
|
2020-01-22 10:46:53 +01:00
|
|
|
import 'bootstrap/js/dist/dropdown';
|
2018-02-09 13:10:40 +01:00
|
|
|
import 'bootstrap/js/dist/modal';
|
|
|
|
import 'bootstrap/js/dist/tooltip';
|
|
|
|
import 'bootstrap/js/dist/popover';
|
|
|
|
import 'bootstrap/js/dist/scrollspy';
|
|
|
|
import 'bootstrap/js/dist/tab';
|
2018-02-05 12:11:01 +01:00
|
|
|
//
|
|
|
|
|
2019-09-07 03:39:49 +02:00
|
|
|
// Offcanvas menu
|
2019-09-07 03:49:31 +02:00
|
|
|
//import 'offcanvas-bootstrap/dist/js/bootstrap.offcanvas';
|
2019-09-07 03:39:49 +02:00
|
|
|
|
2020-01-22 10:46:53 +01:00
|
|
|
import '../scss/app.scss';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
2020-01-22 10:46:53 +01:00
|
|
|
import '@a2nt/meta-lightbox/src/js/meta-lightbox';
|
2019-09-07 03:49:31 +02:00
|
|
|
// youtube video preview image
|
2019-11-25 08:00:33 +01:00
|
|
|
import '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.video.preview';
|
2019-09-07 03:49:31 +02:00
|
|
|
|
2020-01-22 10:46:53 +01:00
|
|
|
// MainUI
|
|
|
|
import '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_main';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
2020-01-22 10:46:53 +01:00
|
|
|
// Uncomment it to enable meta-lightbox zooming on hover
|
|
|
|
//import 'jquery-zoom/jquery.zoom';
|
2019-12-02 18:49:28 +01:00
|
|
|
|
2020-01-22 10:46:53 +01:00
|
|
|
// Forms UI
|
|
|
|
import '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.basics';
|
|
|
|
import '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.validate';
|
|
|
|
import '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.stepped';
|
2018-02-05 12:11:01 +01:00
|
|
|
|
2020-01-22 10:46:53 +01:00
|
|
|
// Import fonts and images
|
2018-02-22 12:48:28 +01:00
|
|
|
function importAll(r) {
|
2020-01-22 10:46:53 +01:00
|
|
|
return r.keys().map(r);
|
2018-02-22 12:48:28 +01:00
|
|
|
}
|
|
|
|
|
2020-01-22 10:46:53 +01:00
|
|
|
const images = importAll(
|
|
|
|
require.context('../img/', false, /\.(png|jpe?g|svg)$/),
|
|
|
|
);
|
|
|
|
const fontAwesome = importAll(
|
|
|
|
require.context('font-awesome', false, /\.(otf|eot|svg|ttf|woff|woff2)$/),
|
|
|
|
);
|
|
|
|
|
|
|
|
// Your custom JS
|
|
|
|
import './_layout';
|