feat(i18n): add English and Simplified Chinese
This commit is contained in:
1 parent
38c4c8b781
commit
1e9e0678ee
149 files changed
+5356
-1144
No files matched your search
+2
-1
@@ -6,6 +6,7 @@ import { pinia } from '@/pinia'
|
||||
import { useUserStore } from '@/pinia/stores/user'
|
||||
import { router } from '@/router'
|
||||
import App from './App.vue'
|
||||
import { i18n } from './i18n'
|
||||
import 'element-plus/dist/index.css'
|
||||
import '@@/appearance/base.css'
|
||||
import '@@/assets/styles/app.css'
|
||||
@@ -14,7 +15,7 @@ import 'virtual:uno.css'
|
||||
|
||||
watchFontLoading()
|
||||
const app = createApp(App)
|
||||
app.use(pinia).use(router)
|
||||
app.use(i18n).use(pinia).use(router)
|
||||
const user = useUserStore(pinia)
|
||||
window.addEventListener('storage', user.syncStorage)
|
||||
watch(() => user.sessionVersion, () => {
|
||||
|
||||
Reference in new issue
Block a user