Skip to content

Commit 80c2fe7

Browse files
committed
docs: 增加环境变量配置说明
1 parent ee0f3ca commit 80c2fe7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.env

+4
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,9 @@
33

44
# 接口的域名
55
# VUE_APP_BASE_HOST=http://yourserver
6+
7+
# 接口的域名后的路径,例如:http://yourserver/frontend/,就是 /frontend
68
VUE_APP_BASE_API=/
9+
10+
# 资源所在的二级域名,例如服务器下目录:/public/h5-vue/
711
VUE_APP_BASE_URL=/h5-vue/

0 commit comments

Comments
 (0)