添加动画

This commit is contained in:
thofx
2023-07-22 16:43:22 +08:00
parent 018778488a
commit 4d67126f0e
5 changed files with 151 additions and 10 deletions
@@ -1,4 +1,5 @@
<script lang="ts">
import { Transition } from 'vue'
import { useDisplay } from 'vuetify'
import VerticalNav from '@layouts/components/VerticalNav.vue'
@@ -50,7 +51,9 @@ export default defineComponent({
const main = h(
'main',
{ class: 'layout-page-content' },
h('div', { class: 'page-content-container' }, slots.default?.()),
h(Transition, { name: 'fade-slide', mode: 'out-in', appear: true },
h('section', { class: 'page-content-container' }, slots.default?.()),
),
)
// 👉 Footer