keep-alive vuejs router code example
Example: keep-alive vuejs router
<transition>
<keep-alive>
<router-view></router-view>
</keep-alive>
</transition>
<transition>
<keep-alive>
<router-view></router-view>
</keep-alive>
</transition>