From bc1777a84d7f7d614f7a555771511ba621f1042c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=A8=E6=98=93?= <771184240@qq.com> Date: Sun, 16 Jun 2024 17:39:27 +0800 Subject: [PATCH] base --- docs/.vitepress/config.mjs | 4 ++++ 1 file changed, 4 insertions(+) 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