kun-galgame-vue/src/App.vue

21 lines
523 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'
import Login from './views/login/Login.vue'
</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 />
<!-- <Login /> -->
</template>
<style scoped></style>