Skip to content

A free open source IT asset/license management system

fix

spencerrlonggd29f4489dedf
diff --git a/resources/assets/js/bootstrap.js b/resources/assets/js/bootstrap.js
index cec13850d8..0edde36750 100755
--- a/resources/assets/js/bootstrap.js
+++ b/resources/assets/js/bootstrap.js
@@ -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');
diff --git a/resources/assets/js/snipeit.js b/resources/assets/js/snipeit.js
index a834e22ba0..f978ecd838 100755
--- a/resources/assets/js/snipeit.js
+++ b/resources/assets/js/snipeit.js
@@ -4,6 +4,8 @@
// window.jQuery = jQuery
// window.$ = jQuery
+require('./bootstrap');
+
/**
* Module containing core application logic.
* @param {jQuery} $ Insulated jQuery object