mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-05 19:41:59 +08:00
feat(project): 修改路由模式,增加vercel配置
This commit is contained in:
parent
1fbd4e3d61
commit
a1ffb3c884
2
.env
2
.env
@ -6,6 +6,6 @@ VITE_APP_TITLE=Ench管理系统
|
||||
VITE_APP_DESC=EnchAdmin是一个中后台管理系统模版
|
||||
|
||||
# 路由模式
|
||||
VITE_HASH_ROUTE = Y
|
||||
VITE_HASH_ROUTE = N
|
||||
# 权限路由模式: static | dynamic
|
||||
VITE_AUTH_ROUTE_MODE=dynamic
|
||||
|
3
vercel.json
Normal file
3
vercel.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"rewrites": [{ "source": "/:path*", "destination": "/index.html" }]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user