chore: add i18n
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { createI18n } from 'vue-i18n'
|
||||
import en from '@/locales/en.json'
|
||||
|
||||
export const i18n = createI18n({
|
||||
legacy: false,
|
||||
locale: document.documentElement.lang || 'en',
|
||||
fallbackLocale: 'en',
|
||||
messages: { en },
|
||||
})
|
||||
Reference in New Issue
Block a user