|
@@ -17,11 +17,11 @@ window.Vue = require('vue');
|
|
|
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
|
|
|
*/
|
|
|
|
|
|
-Vue.component('example-component', require('./components/ExampleComponent.vue'));
|
|
|
-
|
|
|
// const files = require.context('./', true, /\.vue$/i)
|
|
|
// files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key)))
|
|
|
|
|
|
+Vue.component('example-component', require('./components/ExampleComponent.vue'));
|
|
|
+
|
|
|
/**
|
|
|
* Next, we will create a fresh Vue application instance and attach it to
|
|
|
* the page. Then, you may begin adding components to this application
|