vue router route params in meta 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>