vuejs transition to switch between pages
snippet in html

vuejs transition to switch between pages

user6410

<!-- App.vue -->
<router-view v-slot="{ Component }">
  	<transition name="slither" mode="in-out">
    	<component :is="Component"></component>
	</transition>
</router-view>