Answer the question
In order to leave comments, you need to log in
How to change url in vue-router without updating the route?
There is such a route
{
path: '/catalog/:slug',
name: 'CatalogCategory',
props: true,
component: () => import(/* webpackChunkName: "Category" */ '../views/CatalogCategory')
},
{
path: '*',
name: 'error',
component: () => import(/* webpackChunkName: "error" */ '../layouts/ErrorLayout.vue'),
meta: {
layout: 'error-layout'
}
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question