<script setup lang="ts">
import { useI18n } from 'vue-i18n'

const { messages, locale } = useI18n()

</script>

<template>
  <el-config-provider :locale="messages[locale] as any">
    <router-view />
  </el-config-provider>
</template>

<style scoped></style>
