We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63a4039 + a2c8df5 commit de1f472Copy full SHA for de1f472
resources/js/app.js
@@ -20,10 +20,7 @@ window.Vue = require('vue');
20
Vue.component('example-component', require('./components/ExampleComponent.vue'));
21
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
-// })
+// files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key)))
27
28
/**
29
* Next, we will create a fresh Vue application instance and attach it to
0 commit comments