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.
27 lines
761 B
27 lines
761 B
# 环境配置模板
|
|
# 复制此文件为 .env.development, .env.staging, .env.production 并根据实际情况修改
|
|
|
|
# 应用标题
|
|
VITE_APP_TITLE=预算执行管理系统
|
|
VITE_APP_ENV=development
|
|
|
|
# API 配置
|
|
# 开发环境示例: http://localhost:8080/api
|
|
# 预发布环境示例: https://staging-api.example.com/api
|
|
# 生产环境示例: https://api.example.com/api
|
|
VITE_API_BASE_URL=http://localhost:8080/api
|
|
VITE_API_TIMEOUT=30000
|
|
|
|
# 功能开关
|
|
# 是否启用 Mock 数据
|
|
VITE_ENABLE_MOCK=true
|
|
# 是否启用调试模式
|
|
VITE_ENABLE_DEBUG=true
|
|
|
|
# 构建配置
|
|
# 构建输出目录,不同环境使用不同目录以便区分
|
|
# 开发环境示例: dist-dev
|
|
# 预发布环境示例: dist-staging
|
|
# 生产环境示例: dist-prod
|
|
VITE_BUILD_OUT_DIR=dist
|