mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 添加环境文件env对应的类型
This commit is contained in:
12
src/typings/env.d.ts
vendored
Normal file
12
src/typings/env.d.ts
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
interface ImportMetaEnv {
|
||||
/** 项目标题 */
|
||||
VITE_APP_TITLE: string;
|
||||
/** 项目标题(文本) */
|
||||
VITE_APP_TITLE_LABEL: string;
|
||||
/** 项目基本地址 */
|
||||
VITE_BASE_URL: string;
|
||||
/** 网路请求环境类型 */
|
||||
VITE_HTTP_ENV: string;
|
||||
/** 网路请求地址 */
|
||||
VITE_HTTP_URL: string;
|
||||
}
|
Reference in New Issue
Block a user