Merge pull request #4854 from aryehraber/patch-1

[5.7] Clean up auto register Vue components
This commit is contained in:
Taylor Otwell 2018-11-14 07:49:22 -06:00 committed by GitHub
commit a2c8df54f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

5
resources/js/app.js vendored
View File

@ -20,10 +20,7 @@ window.Vue = require('vue');
Vue.component('example-component', require('./components/ExampleComponent.vue'));
// const files = require.context('./', true, /\.vue$/i)
// files.keys().map(key => {
// return Vue.component(key.split('/').pop().split('.')[0], files(key))
// })
// files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key)))
/**
* Next, we will create a fresh Vue application instance and attach it to