-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathconfig.js
111 lines (109 loc) · 3.23 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
module.exports = {
title: "Vue3.0",
description: "Vue3 下一代web开发方式,更快,更轻,易维护,更多的原生支持",
// base: '/slamdunk-the-vue3/',
head: [
["link", { rel: "icon", href: "/onepunch.jpeg" }],
[
"meta",
{
name: "keywords",
content:
"vue3中文, vue3js文档, vue3资料, vue3 vue-composition-api, vuecli,vue-cli,vue-cli文档,vue-cli学习,vue文档,vue中文,vue学习,前端开发,vue框架,vue社区",
},
],
[
"script",
{ src: "https://hm.baidu.com/hm.js?db1f163122162bcdb6d04f76b5c1df17" },
],
],
themeConfig: {
repo: "vueClub/vue3doc",
// 自定义仓库链接文字。默认从 `themeConfig.repo` 中自动推断为
// "GitHub"/"GitLab"/"Bitbucket" 其中之一,或是 "Source"。
repoLabel: "Github",
// 以下为可选的编辑链接选项
// 假如你的文档仓库和项目本身不在一个仓库:
docsRepo: "vueClub/vue3doc",
docsDir: "docs",
docsBranch: "master",
// 默认是 false, 设置为 true 来启用
editLinks: false,
// 默认为 "Edit this page"
editLinkText: "帮助我们改善此页面!",
// displayAllHeaders: true,
sidebar: [
{
title: "阅前必读",
collapsable: false,
children: [["start/", "写在最前面"]],
},
{
title: "前置知识",
collapsable: false,
children: [
["es6/", "Proxy"],
["es6/dataStructure", "Set、Map、WeakSet、WeakMap"],
["es6/composition", "Composition"],
["es6/typeScript", "TypeScript"],
["es6/spec", "spec语法"],
],
},
{
title: "全局概览",
collapsable: false,
children: [
["global/", "目录结构"],
["global/createApp", "createApp"],
["global/defineComponent", "defineComponent"],
["global/h", "h"],
["global/nextTick", "nextTick"],
// ["global/start", "从一个简单的例子说起"],
],
},
{
title: "Example",
collapsable: false,
children: [
["example/", "基本范例"],
],
},
{
title: "响应式系统",
collapsable: false,
sidebarDepth: 2,
children: [
["reactivity/", "整体概览"],
["reactivity/reactive", "reactive"],
["reactivity/reactive.spec", "reactive.spec"],
["reactivity/ref", "ref"],
["reactivity/ref.spec", "ref.spec"],
["reactivity/baseHandlers", "baseHandlers"],
["reactivity/effect", "effect"],
["reactivity/effect.spec", "effect.spec"],
["reactivity/computed", "computed"],
["reactivity/computed.spec", "computed.spec"],
],
},
{
title: "编绎模块",
collapsable: false,
children: [
["compiler/", "compiler"],
["compiler/spec/parse.spec", "parse.spec"],
["compiler/spec/compile.spec", "compile.spec"],
],
},
{
title: "Runtime",
collapsable: false,
children: [
["runtime/", "runtime"],
],
},
],
},
markdown: {
lineNumbers: true,
},
};