This commit is contained in:
spencerrlongg 2023-12-12 14:09:12 -06:00
parent 4367fc54bf
commit d29f4489de
2 changed files with 2 additions and 22 deletions

View file

@ -19,28 +19,6 @@ jQuery.fn.uitooltip = jQuery.fn.tooltip;
*/
require('bootstrap-less');
/**
* Vue is a modern JavaScript library for building interactive web interfaces
* using reactive data binding and reusable components. Vue's API is clean
* and simple, leaving you to focus on building your next great project.
*/
window.Vue = require('vue').default;
window.eventHub = new Vue();
require('vue-resource');
/**
* We'll register a HTTP interceptor to attach the "CSRF" header to each of
* the outgoing requests issued by this application. The CSRF middleware
* included with Laravel will automatically verify the header's value.
*/
Vue.http.interceptors.push(function (request, next) {
request.headers.set('X-CSRF-TOKEN', Laravel.csrfToken);
next();
});
// require('admin-lte');
// require('chart.js');

View file

@ -4,6 +4,8 @@
// window.jQuery = jQuery
// window.$ = jQuery
require('./bootstrap');
/**
* Module containing core application logic.
* @param {jQuery} $ Insulated jQuery object