Answers for "<router-link to dynamic"

2

vue router link dynamic id

<div class="category-list" v-for="category in categories">
    <router-link :to="{ name: 'category/edit', params: { categoryId: category.id }}">Home</router-link>
</div>
Posted by: Guest on September-15-2020

Browse Popular Code Answers by Language