n0mbers/src/i18n.ts
2022-02-23 22:39:53 +01:00

10 lines
206 B
TypeScript

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,
})