how to get id from pathname on a detail view page vue router code example
Example: query params vuejs
http://localhost:8000?name=John&email=john@gmail.com
parameters = this.$route.query
console.log(parameters)
name = this.$route.query.name
console.log(name)