<template>
  <v-app>
    <div class="container">
      <headerLayout />
      <div class="content">
        <NuxtPage class="main" />
      </div>
      <!-- <footerLayout /> -->
    </div>
  </v-app>
</template>

<script setup>
  import headerLayout from "@/components/common/header";

  /************************************************************************
|    전역
************************************************************************/
  const { $dayjs, $log, $eventBus, $toast } = useNuxtApp();
  let pageId = "defaultLayout";
  const menuActive = ref("");
  const router = useRouter();
  const subActv = ref("");
  /************************************************************************
|    스토어
************************************************************************/
  const useDtStore = useDetailStore();

  /************************************************************************
|    함수 : 세팅
************************************************************************/
  const subMenuActv = (__IDX, __URL, __MENU_ID, __PAGE_RT_NAME, __PAGE_STATUS) => {
    useDtStore.menuInfo.menuIndex = __IDX;
    useDtStore.menuInfo.menuId = __MENU_ID;
    useDtStore.menuInfo.pageRtName = __PAGE_RT_NAME;
    useDtStore.menuInfo.pageStatus = __PAGE_STATUS;
    router.push({
      path: __URL,
    });
  };
  /************************************************************************
|    스코핑  : INIT
|    *scoped에 유의하여 세팅
************************************************************************/

  onMounted(() => {});
</script>
