<template>
  <router-view v-slot="{ Component, route }">
    <transition appear name="fade-transform" mode="out-in">
      <keep-alive>
        <component :is="Component" :key="route.name" />
      </keep-alive>
    </transition>
  </router-view>
</template>
<script lang="ts" name="AppMain" setup></script>
