新增中英文切换
This commit is contained in:
12
mail-vue/src/i18n/index.js
Normal file
12
mail-vue/src/i18n/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { createI18n } from 'vue-i18n';
|
||||
import en from './en.js'
|
||||
import zh from './zh.js'
|
||||
const i18n = createI18n({
|
||||
legacy: false,
|
||||
messages: {
|
||||
en,
|
||||
zh
|
||||
},
|
||||
});
|
||||
|
||||
export default i18n;
|
||||
Reference in New Issue
Block a user