<template>
  <ConfigProvider :locale="getAntdLocale">
    <AppProvider>
      <RouterView />
    </AppProvider>
  </ConfigProvider>
</template>

<script lang="ts" setup>
  import { ConfigProvider } from 'ant-design-vue';
  import { AppProvider } from '/@/components/Application';
  import { useTitle } from '/@/hooks/web/useTitle';
  import { useLocale } from '/@/locales/useLocale';
  // import { initModalWorker } from '/@/utils/threejs/main.worker';

  // support Multi-language
  const { getAntdLocale } = useLocale();

  // initModalWorker()

  useTitle();
</script>
<style lang="less" scoped>
  #app{
    overflow: hidden;
  }
</style>

