I'm dealing with a situation involving nested route settings
let routes = [
{
name: 'Admin',
path: '/prod/:id',
component: Admin,
meta: {
requiresAuth: true,
title: 'Admin - Fraud tool'
},
children:[
{
path: 'users',
component: Users
}
]
}];
Now, the URL I'm working with appears like this
http://localhost/prod/admin/users
Does anyone know how I can extract the admin
segment from this route in Vue.js?