32 lines
589 B
JavaScript
32 lines
589 B
JavaScript
// webpack entry point
|
|
|
|
// JS
|
|
// components
|
|
import $ from 'jquery';
|
|
|
|
window.jQuery = $;
|
|
window.$ = $;
|
|
|
|
import 'bootstrap';
|
|
import 'fullcalendar';
|
|
import Jodit from 'jodit';
|
|
import Sortable from 'sortablejs-float';
|
|
import 'pc-bootstrap4-datetimepicker';
|
|
|
|
// SASS
|
|
import './src/assets/scss/app.scss';
|
|
|
|
// globaly accessible variables and classes
|
|
window.Jodit = Jodit;
|
|
window.Sortable = Sortable;
|
|
|
|
import 'lightbox2';
|
|
|
|
|
|
// custom made functions - everything in src/assets/js
|
|
function requireAll(r) {
|
|
r.keys ().forEach (r);
|
|
}
|
|
|
|
requireAll (require.context ('./src/assets/js', true, /\.js$/));
|