Files
DDDMicroFrontend/front-end/main-app/.env.development
2025-09-30 10:00:10 +08:00

34 lines
887 B
Plaintext
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.

# 请求协议 http or https(建议线上配置证书后,使用https)
VITE_PREFIX=http://
#
# Nacos 集群的地址
# 注意:
# 1: 内网微前端模块,直接填内网Nacos IP:端口 就行
# 2: main-app位于公网,填 网关的公网地址
#
# 网关地址
VITE_NACOS_ADDRESS=nacos.ddd.com:80
# VITE_NACOS_ADDRESS=192.168.139.84:8848
# 注册到 Nacos 的服务名称(微前端模块名称)
VITE_SERVER_NAME=main-app
# 注册到 Nacos 的端口,也是前端运行的端口
VITE_SERVER_PORT=1300
#
# 说明:项目要调用哪些 微前端 模块
# 格式:VITE_MODEL_XXXX_NAME=微前端模块名称(模块 的 开发者提供)
# 作用:通过名称从Nacos配置中心发现模块地址和端口,给 federation 实时加载
#
# product 商品模块
VITE_MODEL_PRODUCT_NAME=app-product
# shared 共享资源模块
VITE_MODEL_SHARED_NAME=app-shared