Answers for "allowed params vue router"

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
-2

vue js get routes

this.$router.options.routes
Posted by: Guest on July-18-2020

Browse Popular Code Answers by Language