My Current Route is
function route(path, view) {
return {
path: path,
meta: meta[path],
component: resolve => import(`pages/${view}View.vue`).then(resolve)
}
}
route('/', 'Home'),
route('/help', 'Help),
route('/blog', 'BlogList'),
route('/blog/:slug', 'BlogDetails'),
Everything seems to be working properly. However, I noticed that when I navigate from the /blog/:slug
route and then click on a button in that component to go back to /help
, the route pattern shows up as /blog/help
instead of just /help
.