mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2025-07-02 10:03:12 +08:00
feat: add site demo
This commit is contained in:
10
site/.vitepress/config/nav.ts
Normal file
10
site/.vitepress/config/nav.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import type { DefaultTheme } from 'vitepress'
|
||||
|
||||
export const getNav = (): DefaultTheme.NavItem[] => {
|
||||
return [
|
||||
{
|
||||
text: '组件',
|
||||
link: '/components/'
|
||||
}
|
||||
]
|
||||
}
|
10
site/.vitepress/config/sidebar.ts
Normal file
10
site/.vitepress/config/sidebar.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import type { DefaultTheme } from 'vitepress'
|
||||
|
||||
export const getSidebar = (): DefaultTheme.Sidebar => {
|
||||
return [
|
||||
{
|
||||
text: 'Button 按钮',
|
||||
link: '/components/button/'
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user