1👍
There are couple of ways for the redirection with parameter in vue.js you can simply make redirection from any method as follows:
setTimeout(() => {
return this.$router.push({name: 'Your_Router_Name_Hear', params: { bundle: 'standard' }})
}, 100);
Another way is redirection from your template with parameters:
<router-link:to="{ name: 'Your_Router_Name_Hear', params: { bundle: 'standard' }}" class="button" >
<i class="fa fa-edit"></i> Edit
</router-link>
- [Vuejs]-(VueJS) Update component whenever displayed
- [Vuejs]-Is there a way to use Conditional Rendering within List Rendering (v-for) in Vue JS
Source:stackexchange.com