🚑 Fix animation

This commit is contained in:
SebClem 2022-06-16 12:24:07 +02:00
parent 3511bedaec
commit 10020efa61
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -3,10 +3,10 @@
<header-component /> <header-component />
<v-main> <v-main>
<v-container> <v-container>
<router-view v-slot="{ Component }"> <router-view v-slot="{ Component, route }">
<v-fade-transition> <v-scroll-x-transition mode="out-in">
<component :is="Component" /> <component :is="Component" :key="route.path" />
</v-fade-transition> </v-scroll-x-transition>
</router-view> </router-view>
</v-container> </v-container>
</v-main> </v-main>