diff --git a/docs/.vitepress/config.mjs b/docs/.vitepress/config.mjs index 7876de4..aa67f41 100644 --- a/docs/.vitepress/config.mjs +++ b/docs/.vitepress/config.mjs @@ -11,6 +11,10 @@ import fs from "fs" export default defineConfig({ title: "前端题库", description: "最全面的前端面试题库", + base: "/questions/", + markdown: { + lineNumbers: true // 默认显示行号 + }, themeConfig: { // https://vitepress.dev/reference/default-theme-config