how to get the first slug for the router link vue js code example
Example: page slug vuejs
{
path: '/movies/:slug',
name: 'moviedetail',
component: MovieDetail
}
{
path: '/movies/:slug',
name: 'moviedetail',
component: MovieDetail
}