From 17ec5c51d60bb05985f287f09041c56fcd41d9ce Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 17 Apr 2017 15:30:36 -0500 Subject: [PATCH] Move the location of Vue inclusion. --- resources/assets/js/app.js | 2 ++ resources/assets/js/bootstrap.js | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index 9f086255..c1620c1b 100644 --- a/resources/assets/js/app.js +++ b/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 diff --git a/resources/assets/js/bootstrap.js b/resources/assets/js/bootstrap.js index 86574839..f9c72e19 100644 --- a/resources/assets/js/bootstrap.js +++ b/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