<script setup lang="ts">
import { computed } from "vue";
import { AppMain, Navbar } from "./components/index";

import { useAppStore } from "@/store/modules/app";

const appStore = useAppStore();

const classObj = computed(() => ({
  withoutAnimation: appStore.sidebar.withoutAnimation,
}));
</script>

<template>
  <div :class="classObj" class="app-wrapper">
    <navbar />
    <div class="main-container">
      <!--主页面-->
      <app-main />
    </div>
  </div>
</template>

<style lang="scss" scoped>
@use '@/styles/mixin.scss' as mixin;

.app-wrapper {
  // @include clearfix;
  position: relative;
  height: 100%;
  width: 100%;
}
</style>
