<script setup lang="ts">
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
import { useThemeStore } from '@/stores/theme'
const locale = zhCn

const themeStore = useThemeStore()
themeStore.initTheme()
</script>

<template>
  <el-config-provider :locale="locale">
    <router-view></router-view>
  </el-config-provider>
</template>

<style scoped></style>
