vue pass params through router go 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>