vue use keep-alive with props 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>