Files
FastapiAdmin/frontend/app/.env.development
T
zhangtao 50eac1872b chore: 初始化项目基础结构与配置
添加了nvm配置、静态资源、项目配置文件、工具类、api模块、状态管理、国际化、路由配置等基础代码,搭建了uniapp前端项目的初始框架。
2026-08-10 22:23:32 +08:00

26 lines
651 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.
# 开发环境变量
# 在开发模式下使用 (npm run dev)
# API 基础 URL - 开发环境
# VITE_API_BASE_URL=http://localhost:8001
VITE_API_BASE_URL=https://service.fastapiadmin.com
# 环境名称
VITE_ENV_NAME=development
# 项目名称
VITE_APP_TITLE=fastapiadmin
# 代理前缀
VITE_APP_BASE_API=/api/v1
# 应用端口(vite dev server 启动端口,对应 vite.config.ts 的 server.port,缺省 vite 默认 5173
VITE_APP_PORT=5180
# 超时时间
VITE_TIMEOUT=10000
# WebSocket 服务器的 URL,不配置默认关闭 WebSocket
# VITE_APP_WS_ENDPOINT= ws://localhost:5180/ws
VITE_APP_WS_ENDPOINT = wss://service.fastapiadmin.com