mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2025-09-10 00:03:18 +08:00
feat: add locale
This commit is contained in:
18
.vitepress/config/en-US/sidebar.ts
Normal file
18
.vitepress/config/en-US/sidebar.ts
Normal file
@ -0,0 +1,18 @@
|
||||
import type { DefaultTheme } from 'vitepress'
|
||||
|
||||
const componentsDir = `/components/`
|
||||
|
||||
export const getSidebar = (): DefaultTheme.Sidebar => {
|
||||
return {
|
||||
'/components/': [
|
||||
{
|
||||
text: 'Button',
|
||||
link: `${componentsDir}button/`
|
||||
},
|
||||
{
|
||||
text: 'ConfigProvider',
|
||||
link: `${componentsDir}config-provider/`
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user