本地环境文件示例
parent
d0f4a3e90d
commit
c263790378
@ -0,0 +1,29 @@
|
|||||||
|
###
|
||||||
|
# 本地开发环境变量
|
||||||
|
# 自定义环境变量必须是以VITE_开始
|
||||||
|
# @Author : J.L.Zhou
|
||||||
|
# @EMail : 12020042@qq.com
|
||||||
|
# @Tel : 151 1104 7708
|
||||||
|
# @CreateTime : 2023-05-16 10:02:21
|
||||||
|
# @LastEditos : J.L.Zhou
|
||||||
|
# @LastEditTime : 2023-05-16 10:02:21
|
||||||
|
# @Version : 1.0
|
||||||
|
# Copyright 2023 jlzhou.top Inc. All rights reserved.
|
||||||
|
# Warning: this content is only for internal circulation of the company.
|
||||||
|
# It is forbidden to divulge it or use it for other commercial purposes.
|
||||||
|
###
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# 请求后端api的基础地址
|
||||||
|
# 小程序需加入白名单,并设置跨域
|
||||||
|
VITE_BASE_API=http://127.0.0.1:8080/
|
||||||
|
|
||||||
|
# 外部资源的基础地址
|
||||||
|
# 小程序需加入白名单,并设置跨域
|
||||||
|
VITE_BASE_RESOURCES=http://127.0.0.1:8080/
|
||||||
|
|
||||||
|
# WebSocket的基础地址
|
||||||
|
VITE_BASE_WS=ws://127.0.0.1:8080/
|
||||||
|
|
||||||
|
VITE_TEST22=测试本地开发环境变量
|
||||||
Loading…
Reference in New Issue