初始化项目模板

This commit is contained in:
yangyao committed 2026-01-04 17:53:40 +08:00
1 parent 80fd6a1d4b
commit b3a69a1f27
69 files changed
+11088

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
import {
createI18n
} from 'vue-i18n'
import zhCn from './zh-cn.js'
import zhTw from './zh-tw.js'
const messages = {
'zh-CN': zhCn,
'zh-TW': zhTw,
}
const i18n = createI18n({
legacy: false, // 使用CompotitionAPI必须添加这条.
globalInjection: true,
locale: 'zh-TW',
messages
})
export default i18n