You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<template>
|
|
|
|
<!-- <section class="app-main">
|
|
|
|
<transition name="fade-transform" mode="out-in">
|
|
|
|
<router-view :key="$route.path" />
|
|
|
|
</transition>
|
|
|
|
</section> -->
|
|
|
|
<router-view></router-view>
|
|
|
|
<!-- <router-view v-slot="{ Component }">
|
|
|
|
<keep-alive>
|
|
|
|
<component :is="Component"></component>
|
|
|
|
|
|
|
|
</keep-alive>
|
|
|
|
</router-view> -->
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import {} from 'vue'
|
|
|
|
import { useRoute } from 'vue-router'
|
|
|
|
const $route = useRoute()
|
|
|
|
console.log($route)
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped></style>
|