Merge pull request #4867 from ajthinking/patch-1

[5.7] Fixed mixed up comment order
This commit is contained in:
Taylor Otwell 2018-11-27 08:14:28 -06:00 committed by GitHub
commit 7adea122a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

4
resources/js/app.js vendored
View File

@ -17,11 +17,11 @@ window.Vue = require('vue');
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
*/
Vue.component('example-component', require('./components/ExampleComponent.vue'));
// const files = require.context('./', true, /\.vue$/i)
// files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key)))
Vue.component('example-component', require('./components/ExampleComponent.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