Merge pull request #4853 from aryehraber/patch-2

[5.7] Remove lodash dependency when auto registering Vue components
This commit is contained in:
Taylor Otwell 2018-11-13 09:35:13 -06:00 committed by GitHub
commit dc3e768d4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
resources/js/app.js vendored
View File

@ -22,7 +22,7 @@ Vue.component('example-component', require('./components/ExampleComponent.vue'))
// const files = require.context('./', true, /\.vue$/i) // const files = require.context('./', true, /\.vue$/i)
// files.keys().map(key => { // files.keys().map(key => {
// return Vue.component(_.last(key.split('/')).split('.')[0], files(key)) // return Vue.component(key.split('/').pop().split('.')[0], files(key))
// }) // })
/** /**