Skip to content

Commit 312d61c

Browse files
committed
fix: base path
1 parent cf69e97 commit 312d61c

File tree

3 files changed

+3273
-1822
lines changed

3 files changed

+3273
-1822
lines changed

docs/.vuepress/config.js

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
module.exports = {
1+
import { viteBundler } from '@vuepress/bundler-vite'
2+
import { defaultTheme } from '@vuepress/theme-default'
3+
import { defineUserConfig } from 'vuepress'
4+
5+
export default defineUserConfig({
6+
bundler: viteBundler(),
7+
theme: defaultTheme(),
28
lang: 'zh-CN',
39
title: 'JVM 底层原理最全知识总结',
410
description: 'Doocs开源社区',
@@ -11,7 +17,7 @@ module.exports = {
1117
},
1218
],
1319
],
14-
base: '/jvm/',
20+
base: '/',
1521
themeConfig: {
1622
repo: 'doocs/jvm',
1723
logo: 'https://avatars.githubusercontent.com/u/43716716?s=200&v=4',
@@ -54,4 +60,4 @@ module.exports = {
5460
},
5561
],
5662
],
57-
};
63+
})

0 commit comments

Comments
 (0)