From bb697f995d23dce19f605a6867afb040f3c47952 Mon Sep 17 00:00:00 2001 From: thehrz Date: Tue, 1 Aug 2023 23:17:46 +0800 Subject: [PATCH] chore: update i18n --- src/modules/i18n.ts | 4 ---- 1 file changed, 4 deletions(-) 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 }))