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

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)
// files.keys().map(key => {
// return Vue.component(_.last(key.split('/')).split('.')[0], files(key))
// return Vue.component(key.split('/').pop().split('.')[0], files(key))
// })
/**