mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-04-30 22:29:01 +08:00
chore: 添加vercel环境
This commit is contained in:
parent
60b5ce1817
commit
daf747348e
10
.env.vercel
Normal file
10
.env.vercel
Normal file
@ -0,0 +1,10 @@
|
||||
# 资源公共路径,需要以 /开头和结尾
|
||||
VITE_PUBLIC_PATH = '/'
|
||||
|
||||
VITE_USE_HASH = true
|
||||
|
||||
# 是否启用MOCK
|
||||
VITE_USE_MOCK = true
|
||||
|
||||
# base api
|
||||
VITE_BASE_API = '/api'
|
@ -9,6 +9,7 @@
|
||||
"build": "vite build",
|
||||
"build:test": "vite build --mode test",
|
||||
"build:github": "vite build --mode github && esno ./build/script",
|
||||
"build:vercel": "vite build --mode vercel",
|
||||
"preview": "vite preview",
|
||||
"prepare": "husky install",
|
||||
"cz": "cz"
|
||||
|
Loading…
x
Reference in New Issue
Block a user