Files
qncV4uni-app/env.d.ts

15 lines
481 B
TypeScript
Raw Permalink Normal View History

2026-05-21 17:05:09 +08:00
/// <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
2026-06-04 18:04:00 +08:00
/** qnc-webview-v3 站点根地址,如 https://www.quannengcha.com */
readonly VITE_H5_ORIGIN?: string
2026-05-21 17:05:09 +08:00
}
interface ImportMeta {
readonly env: ImportMetaEnv
}