You can use an alias in the routes:
routes: [
{ path: '/foo', component: Foo, alias: '/bar'}
]
There are some nice examples here:
https://github.com/vuejs/vue-router/blob/dev/examples/route-alias/app.js
You can use an alias in the routes:
routes: [
{ path: '/foo', component: Foo, alias: '/bar'}
]
There are some nice examples here:
https://github.com/vuejs/vue-router/blob/dev/examples/route-alias/app.js