0๐
You can use
<router-link to="/product_B_Id/version_1_Id">Product_B/Version_1</router-link>
0๐
I have achieved it by adding children path in vue router and redirecting it to page productId/versionId
:
{
path: 'products/details/:productid',
name: 'productsdetails',
component: ProductDetails,
},
children: [
{
path: ':productid/:versionid',
redirect: {
name: 'releaseDetails',
},
}
]
},
Source:stackexchange.com