15 lines
481 B
TypeScript
15 lines
481 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
/** 覆盖全部端的 API 根路径,如 /api/v1 或 http://127.0.0.1:8888/api/v1 */
|
|
readonly VITE_API_BASE_URL?: string
|
|
/** H5 开发代理目标,仅 vite 使用,默认 http://127.0.0.1:8888 */
|
|
readonly VITE_API_PROXY_TARGET?: string
|
|
/** qnc-webview-v3 站点根地址,如 https://www.quannengcha.com */
|
|
readonly VITE_H5_ORIGIN?: string
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|