Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

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>
Source by forum.vuejs.org #
 
PREVIOUS NEXT
Tagged: #vue #router #link #dynamic #id
ADD COMMENT
Topic
Name
8+1 =