Browse Source

本地运行

intex
yufei_wang 3 weeks ago
parent
commit
f8efa073c8
  1. 14
      .env.wyf
  2. 1
      package.json

14
.env.wyf

@ -8,17 +8,17 @@ VITE_DEV=false
# SCP 28040
# WMS 28050
# # 请求路径
VITE_BASE_URL='http://dev.ccwin-in.com:28050/api'
# VITE_BASE_URL='http://dev.ccwin-in.com:28040/api'
# 上传路径
VITE_UPLOAD_URL='http://dev.ccwin-in.com:28050/admin-api/infra/file/upload'
# # 上传路径
# VITE_UPLOAD_URL='http://dev.ccwin-in.com:28040/admin-api/infra/file/upload'
# # # 请求路径
# VITE_BASE_URL='http://192.168.1.196:12080'
# # 请求路径
VITE_BASE_URL='http://192.168.1.196:12080'
# # 上传路径
# VITE_UPLOAD_URL='http://192.168.1.196:12080/admin-api/infra/file/upload'
# 上传路径
VITE_UPLOAD_URL='http://192.168.1.196:12080/admin-api/infra/file/upload'
# # 请求路径
# VITE_BASE_URL='http://192.168.1.35:12080'

1
package.json

@ -6,6 +6,7 @@
"private": false,
"scripts": {
"dev": "vite",
"wyf": "vite --mode wyf",
"test": "vite build --mode test",
"prod": "vite build --mode prod",
"preview": "vite preview",

Loading…
Cancel
Save