n0mbers/src/i18n.ts

10 lines
206 B
TypeScript
Raw Normal View History

2022-02-23 22:39:53 +01:00
import messages from '@intlify/vite-plugin-vue-i18n/messages'
import { createI18n } from 'vue-i18n'
export const i18n = createI18n({
legacy: false,
locale: 'fr',
fallbackLocale: 'en',
messages,
})