Получите параметры от Route Vuejs
const User = {
template: '<div>User {{ $route.params.id }}</div>'
}
Adventurous Angelfish
const User = {
template: '<div>User {{ $route.params.id }}</div>'
}
const resolved = this.$router.resolve({
name: 'SomeRouteName',
params: { id: item.id }
})
resolved.href // '/some-route-name/:id'