diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.ts similarity index 98% rename from docs/.vitepress/config.js rename to docs/.vitepress/config.ts index b54462b..ad48373 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.ts @@ -83,12 +83,10 @@ export default defineConfig({ ], }, ], - docFooter: [ - { - prev: '上一页', - next: '下一页' - } - ], + docFooter: { + prev: '上一页', + next: '下一页' + }, darkModeSwitchLabel: '浅色/深色模式', outlineTitle: '此页的大纲', sidebarMenuLabel: '菜单',