mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
1. 移除 .prettierignore 和 tsconfig.json 中对 src/types/import/ 的配置 2. 全局替换 @/utils/message 导入为直接从 element-plus 导入组件 3. 移动并统一组件路径:将 widget/fa-icon-button 迁移至 others/fa-icon-button 4. 新增多环境配置示例文件与docker部署配置 5. 补充类型导入与类型文件统一导出 6. 修复卡片样式与布局细节问题 7. 移除过时的 initIconify 同步初始化函数
17 lines
460 B
Bash
17 lines
460 B
Bash
# 【生产】环境变量 - 覆盖通用配置(案例)
|
|
|
|
# 环境标识
|
|
VITE_APP_ENV = prod
|
|
|
|
# 项目名称
|
|
VITE_APP_TITLE = FastapiAdmin
|
|
|
|
# API 请求基础路径(生产环境使用完整后端地址)
|
|
VITE_API_BASE_URL = https://your-production-domain.com
|
|
|
|
# 是否删除控制台输出
|
|
VITE_DROP_CONSOLE = true
|
|
|
|
# WebSocket 端点(AI对话功能需要配置,生产环境建议使用 wss)
|
|
VITE_APP_WS_ENDPOINT = wss://your-production-domain.com
|