You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
vite-vue3-lowcode/types/env.d.ts

21 lines
539 B

/// <reference types="vite/client" />
interface ImportMetaEnv {
/** 网站标题 */
readonly VITE_APP_TITLE: string;
/** 网站部署的目录 */
readonly VITE_BASE_URL: string;
/** API 接口路径 */
readonly VITE_BASE_API: string;
/** socket 请求路径前缀 */
readonly VITE_BASE_SOCKET_PATH: string;
/** socket 命名空间 */
readonly VITE_BASE_SOCKET_NSP: string;
/** mock API 路径 */
readonly VITE_MOCK_API: string;
// 更多环境变量...
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}