Archived
chore: 工程底座(Vite + Vue 3 + TS + TDesign + vue-query + Pinia + VueUse + Vitest)
vite dev server 代理 /api、/v1 到 GATEWAY(仅从环境变量读取,.env.example 提供示例,代码不写死默认值,dev 未配置时报错);oxlint + eslint + prettier;vitest 含 jsdom 组件测试环境。
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# NewAPI 网关地址(vite dev server 代理目标,见 vite.config.ts)
|
||||
# 用法:复制本文件为 .env.local 并填入真实地址(.env.local 已被 gitignore,不会提交)
|
||||
GATEWAY=https://your-gateway.example.com
|
||||
Reference in New Issue
Block a user