Skip to content

Commit 60218ee

Browse files
committed
docs(App): add router-view transition
1 parent 26c72b3 commit 60218ee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/docs/src/App.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<template>
2-
<router-view />
2+
<router-view v-slot="{ Component }">
3+
<v-fade-transition appear>
4+
<component :is="Component" />
5+
</v-fade-transition>
6+
</router-view>
37
</template>
48

59
<script setup lang="ts">

0 commit comments

Comments
 (0)