vue-router get path from router.js code example Example: vue js get routes this.$router.options.routes