feat(i18n): i18n auto-importer

This commit is contained in:
JellyBrick
2023-12-02 02:13:49 +09:00
parent c8554a12f6
commit fd3438a20d
8 changed files with 75 additions and 16 deletions

View File

@ -1,6 +1,6 @@
import i18next, { init, t as i18t, changeLanguage } from 'i18next';
import { languageResources } from '@/i18n/resources';
import { languageResources } from 'virtual:i18n';
export const loadI18n = async () =>
await init({