vue get slug code example Example: page slug vuejs { path: '/movies/:slug', name: 'moviedetail', component: MovieDetail }