router.onready vue code example
Example 1: keep-alive vuejs router
<transition>
<keep-alive>
<router-view></router-view>
</keep-alive>
</transition>
Example 2: vue js get routes
this.$router.options.routes
<transition>
<keep-alive>
<router-view></router-view>
</keep-alive>
</transition>
this.$router.options.routes