vue router paramater 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>