Files
FastapiAdmin/frontend/web/.env.example
T
zhangtao bf81480ada feat: 迁移前端资源文件并重构项目结构
refactor: 优化前端代码结构和资源管理

style: 调整前端代码格式和样式

chore: 更新.gitignore和构建配置

fix: 修复前端资源路径和引用问题

docs: 更新前端文档和注释

perf: 优化前端性能和加载速度

test: 更新前端测试用例

build: 调整前端构建配置

ci: 更新CI/CD配置
2026-05-09 00:46:43 +08:00

28 lines
849 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 复制为 .env 并根据本地情况修改;勿提交真实密钥到公开仓库。
# Vite 会加载:.env、.env.[mode](如 .env.development),后者覆盖前者同名变量。
# ---------- 通用(建议复制到 .env----------
VITE_VERSION=3.0.2
VITE_PORT=5180
VITE_BASE_URL=/
# frontend | backend | mixed —— 菜单与路由来源(须与后端约定一致)
VITE_ACCESS_MODE=mixed
VITE_WITH_CREDENTIALS=false
VITE_OPEN_ROUTE_INFO=false
VITE_LOCK_ENCRYPT_KEY=please-change-me
VITE_API_TIMEOUT=60000
VITE_APP_BASE_API=/api/v1
# ---------- 开发(复制到 .env.development----------
VITE_APP_ENV=development
VITE_APP_TITLE=FastAPI Admin
VITE_API_URL=/
# 本地后端;开发时代理会把 /api/v1 转到此处
VITE_API_BASE_URL=http://127.0.0.1:8001
VITE_DROP_CONSOLE=false
VITE_APP_WS_ENDPOINT=ws://127.0.0.1:8001