diff --git a/src/modules/i18n.ts b/src/modules/i18n.ts index 168b072..a4b04c0 100644 --- a/src/modules/i18n.ts +++ b/src/modules/i18n.ts @@ -1,10 +1,6 @@ import { createI18n } from 'vue-i18n' import { type UserModule } from '~/types' -// Import i18n resources -// https://vitejs.dev/guide/features.html#glob-import -// -// Don't need this? Try vitesse-lite: https://github.com/antfu/vitesse-lite const messages = Object.fromEntries( Object.entries( import.meta.glob<{ default: any }>('../../locales/*.y(a)?ml', { eager: true }))