0👍
To manually trigger route, you can use below code, where /
is home route.
Note: No need to import anything as $router
is globally available.
this.$router.push("/" )
Source:stackexchange.com
0👍
To manually trigger route, you can use below code, where /
is home route.
Note: No need to import anything as $router
is globally available.
this.$router.push("/" )