Skip to content

Commit c2359fe

Browse files
committed
wip
1 parent fa2af39 commit c2359fe

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

resources/js/app.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ window.Vue = require('vue');
1717
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
1818
*/
1919

20-
const files = require.context('./', true, /\.vue$/i)
20+
Vue.component('example-component', require('./components/ExampleComponent.vue'));
2121

22-
files.keys().map(key => {
23-
return Vue.component(_.last(key.split('/')).split('.')[0], files(key))
24-
})
22+
// const files = require.context('./', true, /\.vue$/i)
23+
24+
// files.keys().map(key => {
25+
// return Vue.component(_.last(key.split('/')).split('.')[0], files(key))
26+
// })
2527

2628
/**
2729
* Next, we will create a fresh Vue application instance and attach it to

0 commit comments

Comments
 (0)