Cpte-Vue/.env.development

39 lines
1.6 KiB
Plaintext
Raw Permalink 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.

# 是否打开 mock
VITE_USE_MOCK = true
# 发布路径
VITE_PUBLIC_PATH = /
# 跨域代理,您可以配置多个,请注意,没有换行符
VITE_PROXY=[["/cpte-wms-basic","http://localhost:8001/cpte-wms-basic"],["/cpte-wms-inbound","http://localhost:8002/cpte-wms-inbound"],["/cpte-wms","http://localhost:8000/cpte-wms"],["/upload","http://localhost:3300/upload"]]
#后台接口全路径地址 (必填)
VITE_GLOB_DOMAIN_URL=http://localhost:8000/cpte-wms
#后台接口父地址 (必填)
VITE_GLOB_API_URL=/cpte-wms
# 接口前缀
VITE_GLOB_API_URL_PREFIX=
#微前端 qiankun 应用,命名必须以 VITE_APP_SUB_开头cpte-app-1 为子应用的项目名称,也是子应用的路由父路径
VITE_APP_SUB_cpte-app-1 = '//localhost:8092'
# 基础服务微服务地址 (8001 端口)
VITE_GLOB_BASIC_SERVICE_URL=/cpte-wms-basic
# 入库服务微服务地址 (8002 端口)
VITE_GLOB_INBOUND_SERVICE_URL=/cpte-wms-inbound
# 填写后将作为乾坤子应用启动,主应用注册时 AppName 需保持一致(放开 VITE_GLOB_QIANKUN_MICRO_APP_NAME 参数表示 cpte-vue3 将以乾坤子应用模式启动)
#VITE_GLOB_QIANKUN_MICRO_APP_NAME=cpte-vue3
# 作为乾坤子应用启动时必填,需与 qiankun 主应用注册子应用时填写的 entry 保持一致
#VITE_GLOB_QIANKUN_MICRO_APP_ENTRY=//localhost:3001/cpte-vue3
# 全局隐藏哪些布局。可选属性sider,header,multi-tabs多个用逗号隔开
#VITE_GLOB_HIDE_LAYOUT_TYPES=sider,header,multi-tabs
# 在线文档编辑版本。可选属性wps, offlineWps(离线版) ,onlyoffice
VITE_GLOB_ONLINE_DOCUMENT_VERSION=wps