vue get param from vue router code example
Example 1: 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)
Example 2: vuejs router params
<router-link :to="{ name: 'movie', params: { id: item.id } }">{{ item.title }}</router-link>