Answers for "vue routelink to link with id"

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
4

vue router link

<router-link to="/home">Home</router-link>
Posted by: Guest on January-04-2021

Browse Popular Code Answers by Language