feat: add site demo

This commit is contained in:
2023-02-26 08:20:18 +08:00
parent 74e359a47d
commit f732c214e3
9 changed files with 193 additions and 3 deletions

View File

@ -0,0 +1,10 @@
import type { DefaultTheme } from 'vitepress'
export const getNav = (): DefaultTheme.NavItem[] => {
return [
{
text: '组件',
link: '/components/'
}
]
}

View File

@ -0,0 +1,10 @@
import type { DefaultTheme } from 'vitepress'
export const getSidebar = (): DefaultTheme.Sidebar => {
return [
{
text: 'Button 按钮',
link: '/components/button/'
}
]
}