router link vue js code example
Example 1: vue router link
<router-link to="/home">Home</router-link>
Example 2: vue router push
//Syntax - this.$router.push(path);
this.$router.push("/path");
Example 3: vue js get routes
this.$router.options.routes