diff --git a/src/env.d.ts b/src/env.d.ts new file mode 100644 index 0000000..0fa2a6f --- /dev/null +++ b/src/env.d.ts @@ -0,0 +1,10 @@ +/// + +interface ImportMetaEnv { + readonly VITE_APP_TITLE: string + // 更多环境变量... +} + +interface ImportMeta { + readonly env: ImportMetaEnv +}