Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vue router url string

const resolved = this.$router.resolve({
  name: 'SomeRouteName',
  params: { id: item.id }
})
resolved.href // '/some-route-name/:id'
 
PREVIOUS NEXT
Tagged: #vue #router #url #string
ADD COMMENT
Topic
Name
5+9 =