feat(i18n): set up vue-i18n with dynamic locale loading

This commit is contained in:
ghostubborn
2026-04-01 15:22:14 +08:00
parent 0c18e1aeca
commit 22bf50f877
6 changed files with 103 additions and 1 deletions

View File

@@ -1,9 +1,11 @@
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import i18n from './i18n'
const app = createApp(App)
app.use(router)
app.use(i18n)
app.mount('#app')