I have a nested route settings
let routes = [
{
name: 'Admin',
path: '/prod/:id',
component: Admin,
meta: {
requiresAuth: true,
title: 'Admin - Fraud tool'
},
children:[
{
path: 'users',
component: Users
}
]
}];
Then my url looks like this
http://localhost/prod/admin/users
How can I get the admin in this route in vue js?