mirror of https://gitee.com/xiaonuobase/snowy
15 lines
318 B
Vue
15 lines
318 B
Vue
<template>
|
|
<a-config-provider :locale="locale">
|
|
<router-view />
|
|
</a-config-provider>
|
|
</template>
|
|
|
|
<script setup name="App">
|
|
import i18n from '@/locales'
|
|
import { globalStore } from '@/store'
|
|
|
|
const store = globalStore()
|
|
store.initTheme()
|
|
const locale = i18n.global.messages[i18n.global.locale].lang
|
|
</script>
|