mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2025-07-07 18:09:19 +08:00
feat: add info
This commit is contained in:
@ -3,14 +3,44 @@ const componentsDir = `/zh-CN/components/`
|
||||
|
||||
export const getSidebar = (): DefaultTheme.Sidebar => {
|
||||
return {
|
||||
'/zh-CN/components/': [
|
||||
[componentsDir]: [
|
||||
{
|
||||
text: 'Button 按钮',
|
||||
link: `${componentsDir}button/`
|
||||
text: '通用',
|
||||
items: [
|
||||
{
|
||||
text: 'Button 按钮',
|
||||
link: `${componentsDir}button/`
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
text: 'ConfigProvider',
|
||||
link: `${componentsDir}config-provider/`
|
||||
text: '布局',
|
||||
items: []
|
||||
},
|
||||
{
|
||||
text: '导航',
|
||||
items: []
|
||||
},
|
||||
{
|
||||
text: '数据入录',
|
||||
items: []
|
||||
},
|
||||
{
|
||||
text: '数据展示',
|
||||
items: []
|
||||
},
|
||||
{
|
||||
text: '反馈',
|
||||
items: []
|
||||
},
|
||||
{
|
||||
text: '其他',
|
||||
items: [
|
||||
{
|
||||
text: 'ConfigProvider',
|
||||
link: `${componentsDir}config-provider/`
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user