|
@@ -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))
|
|
|
// })
|
|
|
|
|
|
/**
|