vuejs router add params code example
Example: vuejs router params
<router-link :to="{ name: 'movie', params: { id: item.id } }">{{ item.title }}</router-link>
<router-link :to="{ name: 'movie', params: { id: item.id } }">{{ item.title }}</router-link>