diff --git a/source/Component/Localization/Localization.tsx b/source/Component/Localization/Localization.tsx index 77d2410..1a16ee7 100644 --- a/source/Component/Localization/Localization.tsx +++ b/source/Component/Localization/Localization.tsx @@ -2,8 +2,8 @@ import { Component, ReactNode, DetailedHTMLProps, HTMLAttributes } from "react"; import { useSetting, IMixinSettingProps, Language } from "@Context/Setting"; import "./Localization.scss"; -import EN_US from "../../Localization/EN-US"; -import ZH_CN from "../../Localization/ZH-CN"; +import EN_US from "@Localization/EN-US"; +import ZH_CN from "@Localization/ZH-CN"; const LanguageDataBase = { EN_US, ZH_CN diff --git a/tsconfig.json b/tsconfig.json index 8df4d3a..e8bd41b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -31,6 +31,12 @@ ], "@Component/*": [ "./source/Component/*" + ], + "@Localization/*": [ + "./source/Localization/*" + ], + "@Panel/*": [ + "./source/Panel/*" ] } },