<template>
  <n-config-provider :theme="darkTheme" :theme-overrides="themeOverrides" :locale="zhCN" :date-locale="dateZhCN">
    <div class="layout w-auto h-full">
      <sub-header></sub-header>
      <RouterView class="min-h-2xl" />

      <Footer></Footer>
    </div>
  </n-config-provider>
</template>
<script setup lang="ts">
import { NConfigProvider } from 'naive-ui'
import { zhCN, dateZhCN } from 'naive-ui'
import { themeOverrides } from '@/utils'
import SubHeader from '../components/subHeader.vue'
import Footer from '../components/footer.vue'
// import { createTheme, inputDark, datePickerDark } from 'naive-ui'
// createTheme([inputDark, datePickerDark])
const darkTheme = null
// const route = useRoute()
window.$message = useMessage()
</script>

<style></style>
