Vue 2 vue-router 2 laravel 5.3 issue Vue 2 vue-router 2 laravel 5.3 issue vue.js vue.js

Vue 2 vue-router 2 laravel 5.3 issue


vue-router 2.0, like Vue 2.0 has significant changes from v1.

In this specific case, routes are now declared differently:

new VueRouter({  routes: [    { path: '/foo', component: Foo },    { path: '/bar', component: Bar }  ]})

https://router.vuejs.org/en/essentials/getting-started.html

I strongly encourage you read up on what has changed in both.