Files
UserclassFront/.env.development
T

12 lines
834 B
Bash
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.
# 开发环境(Vue CLI 默认 mode=development 时自动加载本文件)
#
# 主题通道接入说明(《云海子应用前端接入规范》§2.2 第一步):
# 1. public/index.html 已插入 A 类 loader,主题/皮肤由通道 /static/js/yh-theme-init.js 下发;
# 2. 本地 dev 的 /static 请求由 vue.config.js 的 devServer.proxy 兜到主题通道;
# 3. 默认通道地址 http://base.yunhaixingtong.com,联调本地通道源时用环境变量覆盖:
# YH_THEME_PROXY_TARGET=http://localhost:9527 npm run dev
# 4. 跨源直连(VITE_THEME_HOST)是 Vite 工程的机制,本项目为 Vue CLI(webpack),
# 内联脚本里的 %VITE_THEME_HOST% 会被判为占位符并置空,统一走上面的 dev 代理。
#
# 说明:本文件不含敏感配置,仅作接入连法备忘。