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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# 环境配置模板
# 复制此文件为 .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
# Vite 开发代理配置(仅开发环境需要)
# 开发环境代理目标,用于解决 CORS 问题
# 示例: http://czemc.localhost 或 http://localhost:8000
VITE_API_PROXY_TARGET = http://czemc.localhost
# 开发环境代理 Host 头配置(可选)
# 如果后端使用虚拟主机( Virtual Host) , 且 VITE_API_PROXY_TARGET 使用了 IP 地址(如 127.0.0.1) ,
# 则需要配置此项为虚拟主机域名
# 示例: czemc.localhost
# VITE_API_PROXY_HOST_HEADER=czemc.localhost