<script setup lang="ts">
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
import AppView from '~/layout/app/index.vue';
import AppLoading from '~/layout/loading/index.vue';
import { app_ready, app_routes } from '~/store/app';
</script>

<template>

  <el-config-provider :locale="zhCn" :zIndex="50" size="large" :button="{ autoInsertSpace: true }">
    <app-view v-if="app_ready" />
    <app-loading v-else />
  </el-config-provider>
</template>
