<template>
  <!-- <NuxtWelcome /> -->
  <NuxtLayout>
    <keep-alive v-if="shouldCache">
      <NuxtPage />
    </keep-alive>
    <NuxtPage v-else />
  </NuxtLayout>

  <!-- pc -->
</template>
<script setup lang="ts">
const route = useRoute();
const shouldCache =
  route.name === "homePage" ||
  route.name === "searchPage" ||
  route.name === "presalePage" ||
  route.name === "newsPage" ||
  route.name === "categoryPage" ||
  route.name === "freeshippingPage" ||
  route.name === "storehousePage" ||
  route.name === "adminPresalePage" ||
  route.name === "monitorPage";
onMounted(async () => {
});
</script>
<style lang="scss">
a{}
</style>
