@@ -4,152 +4,153 @@ export default {
4
4
srcDir : 'src' ,
5
5
6
6
themeConfig : {
7
- nav : [
8
- { text : 'Overview' , link : '/' } ,
7
+ nav : [ { text : 'Vue 3 Docs' , link : 'https://vuejs.org' } ] ,
8
+
9
+ sidebar : [
9
10
{
10
- text : 'Breaking Changes' ,
11
- link : '/breaking-changes/'
11
+ text : 'Guide' ,
12
+ items : [
13
+ { text : 'Overview' , link : '/' } ,
14
+ { text : 'New Recommendations' , link : '/recommendations' } ,
15
+ { text : 'Migration Build' , link : '/migration-build' } ,
16
+ {
17
+ text : 'Breaking Changes' ,
18
+ link : '/breaking-changes/'
19
+ }
20
+ ]
12
21
} ,
13
- { text : 'New Recommendations' , link : '/recommendations' } ,
14
- { text : 'Migration Build' , link : '/migration-build' } ,
15
- { text : 'Vue 3 Docs' , link : 'https://vuejs.org' }
16
- ] ,
17
-
18
- sidebar : {
19
- '/breaking-changes/' : [
20
- {
21
- text : 'Global API' ,
22
- children : [
23
- {
24
- text : 'Global API Application Instance' ,
25
- link : '/breaking-changes/global-api'
26
- } ,
27
- {
28
- text : 'Global API Treeshaking' ,
29
- link : '/breaking-changes/global-api-treeshaking'
30
- }
31
- ]
32
- } ,
33
- {
34
- text : 'Template Directives' ,
35
- children : [
36
- { text : 'v-model' , link : '/breaking-changes/v-model' } ,
37
- {
38
- text : 'key Usage Change' ,
39
- link : '/breaking-changes/key-attribute'
40
- } ,
41
- {
42
- text : 'v-if vs. v-for Precedence' ,
43
- link : '/breaking-changes/v-if-v-for'
44
- } ,
45
- { text : 'v-bind Merge Behavior' , link : '/breaking-changes/v-bind' } ,
46
- {
47
- text : 'v-on.native modifier removed' ,
48
- link : '/breaking-changes/v-on-native-modifier-removed'
49
- }
50
- ]
51
- } ,
52
- {
53
- text : 'Components' ,
54
- children : [
55
- {
56
- text : 'Functional Components' ,
57
- link : '/breaking-changes/functional-components'
58
- } ,
59
- {
60
- text : 'Async Components' ,
61
- link : '/breaking-changes/async-components'
62
- } ,
63
- { text : 'emits Option' , link : '/breaking-changes/emits-option' }
64
- ]
65
- } ,
66
- {
67
- text : 'Render Function' ,
68
- children : [
69
- {
70
- text : 'Render Function API' ,
71
- link : '/breaking-changes/render-function-api'
72
- } ,
73
- {
74
- text : 'Slots Unification' ,
75
- link : '/breaking-changes/slots-unification'
76
- } ,
77
- {
78
- text : '$listeners merged into $attrs' ,
79
- link : '/breaking-changes/listeners-removed'
80
- } ,
81
- {
82
- text : '$attrs includes class & style' ,
83
- link : '/breaking-changes/attrs-includes-class-style'
84
- }
85
- ]
86
- } ,
87
- {
88
- text : 'Custom Elements' ,
89
- children : [
90
- {
91
- text : 'Custom Elements Interop Changes' ,
92
- link : '/breaking-changes/custom-elements-interop'
93
- }
94
- ]
95
- } ,
96
- {
97
- text : 'Removed APIs' ,
98
- children : [
99
- {
100
- text : 'v-on keyCode Modifiers' ,
101
- link : '/breaking-changes/keycode-modifiers'
102
- } ,
103
- { text : 'Events API' , link : '/breaking-changes/events-api' } ,
104
- { text : 'Filters' , link : '/breaking-changes/filters' } ,
105
- {
106
- text : 'inline-template' ,
107
- link : '/breaking-changes/inline-template-attribute'
108
- } ,
109
- { text : '$children' , link : '/breaking-changes/children' } ,
110
- { text : 'propsData option' , link : '/breaking-changes/props-data' }
111
- ]
112
- } ,
113
- {
114
- text : 'Other Minor Changes' ,
115
- children : [
116
- {
117
- text : 'Attribute Coercion Behavior' ,
118
- link : '/breaking-changes/attribute-coercion'
119
- } ,
120
- {
121
- text : 'Custom Directives' ,
122
- link : '/breaking-changes/custom-directives'
123
- } ,
124
- { text : 'Data Option' , link : '/breaking-changes/data-option' } ,
125
- {
126
- text : 'Mount API changes' ,
127
- link : '/breaking-changes/mount-changes'
128
- } ,
129
- {
130
- text : 'Props Default Function this Access' ,
131
- link : '/breaking-changes/props-default-this'
132
- } ,
133
- {
134
- text : 'Transition Class Change' ,
135
- link : '/breaking-changes/transition'
136
- } ,
137
- {
138
- text : 'Transition as Root' ,
139
- link : '/breaking-changes/transition-as-root'
140
- } ,
141
- {
142
- text : 'Transition Group Root Element' ,
143
- link : '/breaking-changes/transition-group'
144
- } ,
145
- {
146
- text : 'VNode lifecycle events' ,
147
- link : '/breaking-changes/vnode-lifecycle-events'
148
- } ,
149
- { text : 'Watch on Arrays' , link : '/breaking-changes/watch' }
150
- ]
151
- }
152
- ]
153
- }
22
+ {
23
+ text : 'Global API' ,
24
+ items : [
25
+ {
26
+ text : 'Global API Application Instance' ,
27
+ link : '/breaking-changes/global-api'
28
+ } ,
29
+ {
30
+ text : 'Global API Treeshaking' ,
31
+ link : '/breaking-changes/global-api-treeshaking'
32
+ }
33
+ ]
34
+ } ,
35
+ {
36
+ text : 'Template Directives' ,
37
+ items : [
38
+ { text : 'v-model' , link : '/breaking-changes/v-model' } ,
39
+ {
40
+ text : 'key Usage Change' ,
41
+ link : '/breaking-changes/key-attribute'
42
+ } ,
43
+ {
44
+ text : 'v-if vs. v-for Precedence' ,
45
+ link : '/breaking-changes/v-if-v-for'
46
+ } ,
47
+ { text : 'v-bind Merge Behavior' , link : '/breaking-changes/v-bind' } ,
48
+ {
49
+ text : 'v-on.native modifier removed' ,
50
+ link : '/breaking-changes/v-on-native-modifier-removed'
51
+ }
52
+ ]
53
+ } ,
54
+ {
55
+ text : 'Components' ,
56
+ items : [
57
+ {
58
+ text : 'Functional Components' ,
59
+ link : '/breaking-changes/functional-components'
60
+ } ,
61
+ {
62
+ text : 'Async Components' ,
63
+ link : '/breaking-changes/async-components'
64
+ } ,
65
+ { text : 'emits Option' , link : '/breaking-changes/emits-option' }
66
+ ]
67
+ } ,
68
+ {
69
+ text : 'Render Function' ,
70
+ items : [
71
+ {
72
+ text : 'Render Function API' ,
73
+ link : '/breaking-changes/render-function-api'
74
+ } ,
75
+ {
76
+ text : 'Slots Unification' ,
77
+ link : '/breaking-changes/slots-unification'
78
+ } ,
79
+ {
80
+ text : '$listeners merged into $attrs' ,
81
+ link : '/breaking-changes/listeners-removed'
82
+ } ,
83
+ {
84
+ text : '$attrs includes class & style' ,
85
+ link : '/breaking-changes/attrs-includes-class-style'
86
+ }
87
+ ]
88
+ } ,
89
+ {
90
+ text : 'Custom Elements' ,
91
+ items : [
92
+ {
93
+ text : 'Custom Elements Interop Changes' ,
94
+ link : '/breaking-changes/custom-elements-interop'
95
+ }
96
+ ]
97
+ } ,
98
+ {
99
+ text : 'Removed APIs' ,
100
+ items : [
101
+ {
102
+ text : 'v-on keyCode Modifiers' ,
103
+ link : '/breaking-changes/keycode-modifiers'
104
+ } ,
105
+ { text : 'Events API' , link : '/breaking-changes/events-api' } ,
106
+ { text : 'Filters' , link : '/breaking-changes/filters' } ,
107
+ {
108
+ text : 'inline-template' ,
109
+ link : '/breaking-changes/inline-template-attribute'
110
+ } ,
111
+ { text : '$children' , link : '/breaking-changes/children' } ,
112
+ { text : 'propsData option' , link : '/breaking-changes/props-data' }
113
+ ]
114
+ } ,
115
+ {
116
+ text : 'Other Minor Changes' ,
117
+ items : [
118
+ {
119
+ text : 'Attribute Coercion Behavior' ,
120
+ link : '/breaking-changes/attribute-coercion'
121
+ } ,
122
+ {
123
+ text : 'Custom Directives' ,
124
+ link : '/breaking-changes/custom-directives'
125
+ } ,
126
+ { text : 'Data Option' , link : '/breaking-changes/data-option' } ,
127
+ {
128
+ text : 'Mount API changes' ,
129
+ link : '/breaking-changes/mount-changes'
130
+ } ,
131
+ {
132
+ text : 'Props Default Function this Access' ,
133
+ link : '/breaking-changes/props-default-this'
134
+ } ,
135
+ {
136
+ text : 'Transition Class Change' ,
137
+ link : '/breaking-changes/transition'
138
+ } ,
139
+ {
140
+ text : 'Transition as Root' ,
141
+ link : '/breaking-changes/transition-as-root'
142
+ } ,
143
+ {
144
+ text : 'Transition Group Root Element' ,
145
+ link : '/breaking-changes/transition-group'
146
+ } ,
147
+ {
148
+ text : 'VNode lifecycle events' ,
149
+ link : '/breaking-changes/vnode-lifecycle-events'
150
+ } ,
151
+ { text : 'Watch on Arrays' , link : '/breaking-changes/watch' }
152
+ ]
153
+ }
154
+ ]
154
155
}
155
156
}
0 commit comments