mirror of
https://github.com/certd/certd.git
synced 2026-04-14 12:30:54 +08:00
12 lines
256 B
JavaScript
12 lines
256 B
JavaScript
import { createI18n } from 'vue-i18n'
|
|
import zh from '@/locales/zh.json'
|
|
import en from '@/locales/en.json'
|
|
export const i18n = createI18n({
|
|
// something vue-i18n options here ...
|
|
locale: 'zh', // set current locale
|
|
messages: {
|
|
en,
|
|
zh
|
|
}
|
|
})
|