chore: add prettier as linter

This commit is contained in:
Mr.Hope
2023-04-26 11:57:55 +08:00
parent c0ca9e0966
commit ac4a955bd1
12 changed files with 153 additions and 97 deletions

View File

@@ -2,39 +2,39 @@ import { sidebar } from "vuepress-theme-hope";
export const zhSidebar = sidebar({
"/zh/": [
"",
{
icon: "workingDirectory",
text: "项目介绍",
link: "project.md"
},
{
icon: "network",
text: "国际化支持",
link: "i18n.md"
},
{
icon: "play",
text: "快速开始",
link: "quick-start.md"
},
{
icon: "read",
text: "功能指南",
prefix: "features/",
children: "structure"
},
{
icon: "advance",
text: "高级",
prefix: "advanced/",
children: "structure"
},
{
icon: "article",
text: "声明和公告",
prefix: "statements/",
children: "structure"
}
"",
{
icon: "workingDirectory",
text: "项目介绍",
link: "project",
},
{
icon: "network",
text: "国际化支持",
link: "i18n",
},
{
icon: "play",
text: "快速开始",
link: "quick-start",
},
{
icon: "read",
text: "功能指南",
prefix: "features/",
children: "structure",
},
{
icon: "advance",
text: "高级",
prefix: "advanced/",
children: "structure",
},
{
icon: "article",
text: "声明和公告",
prefix: "statements/",
children: "structure",
},
],
});