add bootstrap to global variable

This commit is contained in:
envoyr
2022-04-23 16:11:43 +02:00
parent a615b04eb4
commit 3f17e893b5

View File

@@ -1,10 +1,11 @@
// load bootstrap
// import libs
import 'bootstrap';
import '@fortawesome/fontawesome-free';
import 'chart.js/dist/chart';
// load jquery
// set jquery & bootstrap
global.$ = require('jquery');
global.bootstrap = require('bootstrap');
$(document).ready(function () {
window.$theme = 'Froxlor';