vuejs page transition loader code example
Example: vuejs transition to switch between pages
<!-- App.vue -->
<router-view v-slot="{ Component }">
<transition name="slither" mode="in-out">
<component :is="Component"></component>
</transition>
</router-view>