build: 优化
This commit is contained in:
3
env/.env
vendored
3
env/.env
vendored
@@ -1,7 +1,8 @@
|
||||
VITE_APP_TITLE = 'UniBest App'
|
||||
VITE_APP_PORT = 9000
|
||||
|
||||
# github actions 部署地址根路径,用在 manifest.config.ts 里面的 h5.router.base
|
||||
VITE_APP_PUBLIC_BASE=/unibest/
|
||||
VITE_APP_PUBLIC_BASE=/
|
||||
|
||||
# TODO: 记得修改
|
||||
VITE_UNI_APPID = 'H5871D791'
|
||||
|
||||
3
env/.env.production
vendored
3
env/.env.production
vendored
@@ -4,3 +4,6 @@ NODE_ENV = 'development'
|
||||
VITE_DELETE_CONSOLE = true
|
||||
|
||||
VITE_SERVER_BASEURL = 'https://xxx.com'
|
||||
|
||||
# github actions 部署地址根路径,用在 manifest.config.ts 里面的 h5.router.base
|
||||
VITE_APP_PUBLIC_BASE=/unibest/
|
||||
|
||||
Reference in New Issue
Block a user