<template>
  <div>
    <el-config-provider :locale="elementPlusLocale">
      <NuxtLayout>
        <NuxtPage />
      </NuxtLayout>
    </el-config-provider>
  </div>
</template>

<script setup lang="ts">
  import { ElConfigProvider } from 'element-plus';

  const { getElementPlusLocale } = useLocalizations();

  const elementPlusLocale = getElementPlusLocale();
</script>
