Merge pull request #4854 from aryehraber/patch-1
[5.7] Clean up auto register Vue components
This commit is contained in:
commit
a2c8df54f7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue