<template>
  <NuxtLayout name="default" :menu="menu">
    <router-view></router-view>
  </NuxtLayout>
</template>

<script>
import { clearBodyClass } from "@manuals/utilities";
import menu from "@chat/json/menu.json";

export default {
  name: "taskRouterView",
  setup() {
    useHead({
      title: import.meta.env.VITE_TASK_PAGE_TITLE,
      meta: [{ name: "description", content: "My page description" }],
      bodyAttrs: {
        class: import.meta.env.VITE_TASK_SYSTEM,
      },
      bodyAttrs: {
        class: import.meta.env.VITE_TASK_SYSTEM,
      },
    });

    definePageMeta({
      name: "taskRouterView",
      layout: false,
    });
  },

  data() {
    return {
      menu: menu,
    };
  },


  beforeMount() {
    clearBodyClass();
  },
 
  destroyed() {
    clearBodyClass();
  },
};
</script>

<style lang="scss">
@import "../assets/task/scss/task";
</style>
