feat: add locale

This commit is contained in:
2023-04-16 18:09:13 +08:00
parent f394f48853
commit 9f19ed8c74
25 changed files with 1434 additions and 944 deletions

View 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/`
}
]
}
}