<template>
  <ElConfigProvider :button="buttonConfig" :locale="zhCn">
    <router-view #="{ Component }">
      <component :is="Component" />
    </router-view>
  </ElConfigProvider>
</template>

<script lang="ts" setup>
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const buttonConfig = reactive({
  autoInsertSpace: true,
  type: "default",
  plain: false,
  round: false,
  text: false,
});
</script>

<style lang="stylus">
</style>
