Add slide transition for route navigation
Deploy with Docker Compose / deploy (push) Successful in 15s
Deploy with Docker Compose / deploy (push) Successful in 15s
Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
+5
-1
@@ -6,7 +6,11 @@ import Footer from "@/components/Footer.vue";
|
||||
|
||||
<template>
|
||||
<Navbar class="no-print sticky" />
|
||||
<RouterView />
|
||||
<RouterView v-slot="{ Component }">
|
||||
<Transition name="slide" mode="out-in">
|
||||
<component :is="Component" :key="$route.path" />
|
||||
</Transition>
|
||||
</RouterView>
|
||||
|
||||
<!-- <Footer style="height: 10vh" /> -->
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user