structure changed

This commit is contained in:
zeroornull
2025-03-14 21:22:11 +08:00
parent 1348ff1832
commit 2d48027609
6 changed files with 289 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ export default defineUserConfig({
description: "vuepress-theme-hope 的文档演示",
theme,
// 和 PWA 一起启用
// shouldPrefetch: false,
});

View File

@@ -6,10 +6,10 @@ export default navbar([
"/demo/",
{
text: "面试",
link: "/interview/x-interview.md",
link: "/interview/",
icon: "lightbulb",
// 仅在 `/interview/` 激活
activeMatch: "^/interview/$",
// activeMatch: "^/interview/$",
},
{
text: "指南",

View File

@@ -17,10 +17,17 @@ export default sidebar({
prefix: "guide/",
children: "structure",
},
{
text: "面试",
icon: "lightbulb",
prefix: "interview/",
children: ["java/"],
},
{
text: "幻灯片",
icon: "person-chalkboard",
link: "https://ecosystem.vuejs.press/zh/plugins/markdown/revealjs/demo.html",
},
],
"/interview/": "structure",
});