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