laravel
vue.js

Laravel 5.7 + vue 2.5.3 で画面が真っ白になる

before

Vue.use(VueRouter)
const router = new VueRouter({
    mode: 'history',
    routes: [
        { path: '/', component: require('./components/Hoge.vue') },
    ]
})

after

const router = new VueRouter({
    mode: 'history',
    routes: [
        { path: '/', component: require('./components/Hoge.vue').default },
    ]
}))

参考

[Vue warn]: Failed to mount component: template or render function not defined in Webpack 4