Vue Route Automatic Redirect
const router = new VueRouter({
routes: [
{ path: '/a', redirect: { name: 'foo' }}
]
})
RedConcrete
const router = new VueRouter({
routes: [
{ path: '/a', redirect: { name: 'foo' }}
]
})