Browse Source

Move the location of Vue inclusion.

Taylor Otwell 7 years ago
parent
commit
17ec5c51d6
2 changed files with 2 additions and 8 deletions
  1. 2 0
      resources/assets/js/app.js
  2. 0 8
      resources/assets/js/bootstrap.js

+ 2 - 0
resources/assets/js/app.js

@@ -7,6 +7,8 @@
 
 require('./bootstrap');
 
+window.Vue = require('vue');
+
 /**
  * Next, we will create a fresh Vue application instance and attach it to
  * the page. Then, you may begin adding components to this application

+ 0 - 8
resources/assets/js/bootstrap.js

@@ -11,14 +11,6 @@ window.$ = window.jQuery = require('jquery');
 
 require('bootstrap-sass');
 
-/**
- * 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');
-
 /**
  * We'll load the axios HTTP library which allows us to easily issue requests
  * to our Laravel back-end. This library automatically handles sending the