adbrosaci / vue-lang-router

Vue language routing with (optional) localized URLs.
MIT License
66 stars 8 forks source link

How to use router.push #21

Open Winexcel opened 2 years ago

Winexcel commented 2 years ago

How can I use something like this without localized-link component? this.$router.push({ name: 'Product', params: { productId: this.productId } });

Is is possible? At this moment I just got router error:

Error: Redirected when going from "/en/product/9/game-of-thrones" to "/edit-product/9" via a navigation guard.