buhuazhen
2026-03-17 f0a4c2e1985a56362a30004b06e7bad5fef4efc0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// src/types/env.d.ts
interface ImportMetaEnv {
  /**
   * 应用端口
   */
  VITE_APP_PORT: number;
  /**
   * API 基础路径
   */
  VITE_APP_BASE_API: string;
  /**
   * API 服务器的 URL
   */
  VITE_APP_API_URL: string;
}
 
interface ImportMeta {
  readonly env: ImportMetaEnv;
}