<router-link to="/" exact>Home</router-link> in vuejs code example Example: vue js get routes this.$router.options.routes