diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..534ed7b --- /dev/null +++ b/.env.development @@ -0,0 +1,10 @@ +# 变量必须以 VITE_ 为前缀才能暴露给外部读取 + +VITE_APP_PORT = 3000 + + +# 开发环境配置 +VITE_APP_ENV = 'development' + +# 若依管理系统/开发环境 +VITE_APP_BASE_API = '/dev-api' diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..3f2aae2 --- /dev/null +++ b/.env.production @@ -0,0 +1,6 @@ +# 变量必须以 VITE_ 为前缀才能暴露给外部读取 + +VITE_APP_PORT = 3000 + +VITE_APP_BASE_API = 'https://www.jaxc.cn/gzpt/' + diff --git a/index.html b/index.html index 99f583a..e7c3a6a 100644 --- a/index.html +++ b/index.html @@ -4,10 +4,11 @@ -