2

I Know we can create links using component name router-link :to="{ name: route.name }"

But how can I get the route URL by name? or even the full route object using name?

assuming I have this routes below

{ 
    path: "/join/parent", 
    name: "join.parent", 
    component: page("guest/join.vue") 
}

How can I get http://base.url/join/parent using the join.name or even better, how can I get the full object route

SymmetricsWeb
  • 586
  • 6
  • 20

0 Answers0