Bump to Mix v4

This commit is contained in:
Jeffrey Way
2018-12-14 15:14:03 -05:00
parent bc435e7fdd
commit dc58f95ebb
4 changed files with 11 additions and 6 deletions

4
resources/js/app.js vendored
View File

@@ -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