chore(designer): 增加环境变量配置

This commit is contained in:
wangxuefeng
2025-03-03 17:07:36 +08:00
parent e758bc3692
commit faa23bec88
10 changed files with 72 additions and 108 deletions

View File

@@ -0,0 +1,10 @@
# 只在开发模式中被载入
ENV = 'development'
# 公共基础路径, 详见: https://cn.vitejs.dev/guide/build.html#public-base-path
VITE_BASE_URL = /
# 前端可见变量(必须以 VITE_ 开头)
VITE_PORT = 10011
VITE_BASE_API_URL = 'https://custom-chart-pre-api.shiyue.com/'
VITE_DEBUG_MODE = true