<template>
    <a-config-provider
      :locale="zhCN"
      :theme="{
        algorithm: designStore.theme,
      }"
    >
      <router-view/>
    </a-config-provider>
</template>
<script setup lang="ts" >
import zhCN from 'ant-design-vue/es/locale/zh_CN'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
import { useDesignStore } from '@/store'
import { useRouter } from 'vue-router'

dayjs.locale('zh-cn')

const designStore = useDesignStore()

// theme.defaultAlgorithm

</script>
<style lang="less">
@import '~@/styles/theme.less';

</style>
