how to give get parameters in vue route code example
Example: get params from route vuejs
const User = {
template: '<div>User {{ $route.params.id }}</div>'
}
const User = {
template: '<div>User {{ $route.params.id }}</div>'
}