Fix sidebar link

This commit is contained in:
hmol233 2021-05-06 22:41:59 +08:00
parent f68422788d
commit b43b93fbb5
No known key found for this signature in database
GPG Key ID: D617A9DAB0C992D5
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { NavbarConfig } from "@vuepress/theme-default/lib/types/nav";
import { NavbarConfig } from "@vuepress/theme-default";
export const hans: NavbarConfig = [
{ text: "首页", link: "/" },

View File

@ -1,4 +1,4 @@
import { SidebarConfigArray } from "@vuepress/theme-default/lib/types/nav";
import { SidebarConfigArray } from "@vuepress/theme-default";
export function getConfigSidebar(
feature: string,
@ -25,6 +25,7 @@ export function getConfigSidebar(
isGroup: true,
children: [
path + "",
path + "log.md",
path + "api.md",
path + "dns.md",
path + "fakedns.md",