<script setup lang="ts">
const b = 1
if (b == 1) {
  console.log(a)
}
</script>

<template>
  <router-view v-slot="{ Component }">
    <transition>
      <component :is="Component" />
    </transition>
  </router-view>
</template>

<style scoped>
</style>
