Answers for "link parameters vuež"

0

route link prop vue

<router-link :to="{name: 'places', props: { someUnrelatedVar: 101 } }">Places, but 101</router-link>
Posted by: Guest on January-05-2021
1

vue router url string

const resolved = this.$router.resolve({
  name: 'SomeRouteName',
  params: { id: item.id }
})
resolved.href // '/some-route-name/:id'
Posted by: Guest on June-30-2020

Browse Popular Code Answers by Language