File tree 1 file changed +4
-4
lines changed
packages/devui-vue/devui-cli/templates
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ const { isReadyToRelease } = require('../shared/utils');
14
14
// return { text, link: `/${SITES_COMPONENTS_DIR_NAME}/${kebabCase(name)}/`, status }
15
15
// }
16
16
17
- function buildCategoryOptions ( text , children = [ ] ) {
18
- return { text, children } ;
17
+ function buildCategoryOptions ( text , items = [ ] ) {
18
+ return { text, items } ;
19
19
}
20
20
21
21
function generateZhMenus ( componentsInfo ) {
@@ -72,7 +72,7 @@ exports.createVitepressSidebarTemplates = (componentsInfo = []) => {
72
72
} ,
73
73
{
74
74
"text" : "Design Token" ,
75
- "children " : DESIGN_TOKENS_INFO
75
+ "items " : DESIGN_TOKENS_INFO
76
76
} ,
77
77
] ,
78
78
handler : generateZhMenus ,
@@ -94,7 +94,7 @@ exports.createVitepressSidebarTemplates = (componentsInfo = []) => {
94
94
} ,
95
95
{
96
96
"text" : "Design Token" ,
97
- "children " : DESIGN_TOKENS_INFO
97
+ "items " : DESIGN_TOKENS_INFO
98
98
} ,
99
99
] ,
100
100
handler : generateEnMenus ,
You can’t perform that action at this time.
0 commit comments