refactor: ts path alias

This commit is contained in:
GyDi
2022-08-06 02:35:11 +08:00
parent bf0dafabe2
commit f3341f201f
44 changed files with 140 additions and 155 deletions

View File

@@ -1,7 +1,7 @@
import i18n from "i18next";
import { initReactI18next } from "react-i18next";
import en from "../locales/en.json";
import zh from "../locales/zh.json";
import en from "@/locales/en.json";
import zh from "@/locales/zh.json";
const resources = {
en: { translation: en },