mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
fix
This commit is contained in:
parent
4367fc54bf
commit
d29f4489de
22
resources/assets/js/bootstrap.js
vendored
22
resources/assets/js/bootstrap.js
vendored
|
@ -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');
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
// window.jQuery = jQuery
|
||||
// window.$ = jQuery
|
||||
|
||||
require('./bootstrap');
|
||||
|
||||
/**
|
||||
* Module containing core application logic.
|
||||
* @param {jQuery} $ Insulated jQuery object
|
||||
|
|
Loading…
Reference in a new issue