We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d627ced commit b42006bCopy full SHA for b42006b
apps/web-antd/.env.production
@@ -1,4 +1,4 @@
1
-VITE_BASE=/
+VITE_BASE=/vue-vben-admin-antd/
2
3
# 接口地址
4
VITE_GLOB_API_URL=https://mock-napi.vben.pro/api
docs/.vitepress/config/shared.mts
@@ -23,6 +23,8 @@ import { demoPreviewPlugin } from './plugins/demo-preview';
23
import { search as zhSearch } from './zh.mts';
24
25
export const shared = defineConfig({
26
+ base:
27
+ process.env.NODE_ENV === 'production' ? '/vue-vben-admin-antd/docs/' : '/',
28
appearance: 'dark',
29
head: head(),
30
markdown: {
0 commit comments