Categories

Jan 9 in Vue.JS
Q:

How can you redirect to another page in Vue.js?

1 Answer

Jan 9

If you are using vue-router, you should use router.go(path) to navigate to any particular route. The router can be accessed from within a component using this.$routerrouter.go() changed in VueJS 2.0. You can use router.push({ name: "yourroutename"})or just router.push("yourroutename") now to redirect.

Click here to read more about Vue JS
Click here to read more about Insurance

Related questions

Madanswer
Jan 9 in Vue.JS
Jan 9 in Vue.JS
Oct 9, 2019 in Vue.JS
...