<template>
  <el-config-provider :locale="appStore.locale" :size="appStore.size">
    <router-view v-slot="{ Component }">
      <component :is="Component"></component>
    </router-view>
  </el-config-provider>
</template>
<script setup lang="ts">
import { ElConfigProvider } from 'element-plus'
import { useAppStore } from '@/store/app'

const appStore = useAppStore()
</script>
<style lang="scss" scoped></style>
