fix: disable legacy mode of vue-i18n for use with composition API
This commit is contained in:
parent
3d13c256e3
commit
986126a2bb
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ import '@/scss/main.scss'
|
|||
type MessageSchema = typeof messages.en
|
||||
|
||||
const i18n = createI18n<[MessageSchema], 'en' | 'de'>({
|
||||
legacy: false,
|
||||
locale: 'en',
|
||||
fallbackLocale: 'en',
|
||||
messages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue