kun-galgame-vue/src/App.vue
2023-05-03 02:20:22 +08:00

19 lines
458 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- App -->
<script setup lang="ts">
import 'animate.css'
</script>
<template>
<!-- #default v-slot 的简写route 就是路由Component 是一个 v-node -->
<!-- <router-view #default="{ route, Component }">
<transition
:enter-active-class="`animate__animated ${route.meta.transition}`"
>
<component :is="Component"></component>
</transition>
</router-view> -->
<RouterView />
</template>
<style scoped></style>