<script setup>
import themeOverrides from "@/util/theme.js"; // 主题色等配置
import { dateZhCN, zhCN } from "naive-ui";
import idx from "./index.vue"; // 具体配置，以及全局组件挂载

</script>

<template>
  <n-config-provider :locale="zhCN" :date-locale="dateZhCN" :theme="null" class="config" :theme-overrides="themeOverrides.lightOverrides">
    <n-message-provider>
      <n-dialog-provider>
        <n-notification-provider>
          <idx />
        </n-notification-provider>
      </n-dialog-provider>
    </n-message-provider>
  </n-config-provider>
</template>

<style scoped></style>
