main
ts 9 lines 278 Bytes
Raw
1 import type { LocaleCodes, MessageSchema } from "./config"
2 import { createI18n } from "vue-i18n"
3 import { getI18NConf } from "./config"
4
5 const instance = createI18n<[MessageSchema], LocaleCodes>(getI18NConf())
6
7 export default instance
8
9 export const i18nGlobal = instance.global