vue router params huong dan 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>