admin-vue3/.env.local

36 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 本地开发环境本地启动所有项目前端、后端、APP时使用不依赖外部环境
NODE_ENV=development
VITE_DEV=true
# 请求路径
VITE_BASE_URL='http://localhost:48080'
# 文件上传类型server - 后端上传, client - 前端直连上传,仅支持 S3 服务
VITE_UPLOAD_TYPE=server
# 接口地址
VITE_API_URL=/admin-api
# 是否删除debugger
VITE_DROP_DEBUGGER=false
# 是否删除console.log
VITE_DROP_CONSOLE=false
# 是否sourcemap
VITE_SOURCEMAP=false
# 打包路径
VITE_BASE_PATH=/
# 商城H5会员端域名
VITE_MALL_H5_DOMAIN='http://localhost:3000'
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=false
# 大屏设计器GoView独立前端地址需另起仓库 yudao-ui-go-viewpnpm dev默认端口 3000
# 仓库https://gitee.com/yudaocode/yudao-ui-go-view 文档https://doc.iocoder.cn/report/screen/
# 若 GoView 改端口请同步修改此处并保证与芋道后端的跨域、Token 配置按 go-view 项目说明一致
VITE_GOVIEW_URL='http://127.0.0.1:3000'