2018-02-09 13:10:40 +01:00
|
|
|
import '../scss/app.scss';
|
2018-02-05 12:11:01 +01:00
|
|
|
|
|
|
|
// import Bootstrap
|
2018-02-09 13:10:40 +01:00
|
|
|
import Popper from 'popper.js';
|
|
|
|
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';
|
|
|
|
import 'bootstrap/js/dist/dropdown';
|
|
|
|
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
|
|
|
//
|
|
|
|
|
|
|
|
// import your custom UI components
|
2018-02-09 13:10:40 +01:00
|
|
|
import './main';
|
2018-02-05 12:11:01 +01:00
|
|
|
|
2018-02-22 12:48:28 +01:00
|
|
|
// import images
|
|
|
|
function importAll(r) {
|
|
|
|
return r.keys().map(r);
|
|
|
|
}
|
|
|
|
|
|
|
|
const images = importAll(require.context('../img/', false, /\.(png|jpe?g|svg)$/));
|
|
|
|
|
2018-02-05 12:11:01 +01:00
|
|
|
// TODO: hot module update
|
2018-02-09 13:10:40 +01:00
|
|
|
/* const Events = require("./_events");
|
2018-02-05 12:11:01 +01:00
|
|
|
if (module.hot) {
|
|
|
|
module.hot.accept();
|
|
|
|
module.hot.addStatusHandler(status => {
|
|
|
|
if(status === "apply"){
|
|
|
|
$(window).trigger(Events.AJAX);
|
|
|
|
}
|
|
|
|
});
|
2018-02-09 13:10:40 +01:00
|
|
|
} */
|