Check out example codes for "vue router link dynamic id". It will help you in understanding the concepts better.
Code Example 1
<div class="category-list" v-for="category in categories">
<router-link :to="{ name: 'category/edit', params: { categoryId: category.id }}">Home</router-link>
</div>
Learn ReactJs, React Native from akashmittal.com