11import { defineConfig } from 'vitepress'
22
3- // https://vitepress.dev/reference/site-config
43export default defineConfig ( {
54 title : "Miuix" ,
65 description : "A UI library for Compose MultiPlatform" ,
6+ lastUpdated : true ,
77 themeConfig : {
8- // https://vitepress.dev/reference/default-theme-config
9- logo : 'public/Icon.webp' ,
10-
8+ logo : '/Icon.webp' ,
9+
1110 nav : [
1211 { text : '首页' , link : '/' } ,
13- { text : '指南 ' , link : '/guide/getting-started' } ,
14- { text : '组件 ' , link : '/components/' } ,
12+ { text : '快速开始 ' , link : '/guide/getting-started' } ,
13+ { text : '组件库 ' , link : '/components/' } ,
1514 ] ,
1615
1716 sidebar : {
@@ -31,37 +30,62 @@ export default defineConfig({
3130 }
3231 ] ,
3332 '/components/' : [
33+ {
34+ text : '脚手架' ,
35+ items : [
36+ { text : 'Scaffold' , link : '/components/scaffold' } ,
37+ ]
38+ } ,
3439 {
3540 text : '基础组件' ,
3641 items : [
37- { text : 'Button 按钮' , link : '/components/button' } ,
38- { text : 'Text 文本' , link : '/components/text' } ,
39- { text : 'TextField 输入框' , link : '/components/textfield' } ,
40- { text : 'Switch 开关' , link : '/components/switch' } ,
41- { text : 'Checkbox 复选框' , link : '/components/checkbox' } ,
42+ { text : 'Surface' , link : '/components/surface' } ,
43+ { text : 'BasicComponent' , link : '/components/component' } ,
44+ { text : 'Button' , link : '/components/button' } ,
45+ { text : 'Text' , link : '/components/text' } ,
46+ { text : 'SmallTitle' , link : '/components/smalltitle' } ,
47+ { text : 'TextField' , link : '/components/textfield' } ,
48+ { text : 'Switch' , link : '/components/switch' } ,
49+ { text : 'Checkbox' , link : '/components/checkbox' } ,
50+ { text : 'Icon' , link : '/components/icon' } ,
51+ { text : 'FloatingActionButton' , link : '/components/floatingactionbutton' } ,
52+ { text : 'Divider' , link : '/components/divider' } ,
4253 ]
4354 } ,
4455 {
4556 text : '容器组件' ,
4657 items : [
47- { text : 'Card 卡片 ' , link : '/components/card' } ,
48- { text : 'Dialog 对话框 ' , link : '/components/dialog' } ,
49- { text : 'BottomSheet 底部表单 ' , link : '/components/bottomsheet ' } ,
58+ { text : 'Card' , link : '/components/card' } ,
59+ { text : 'Dialog' , link : '/components/dialog' } ,
60+ { text : 'ListPopup ' , link : '/components/listpopup ' } ,
5061 ]
5162 } ,
5263 {
5364 text : '导航组件' ,
5465 items : [
55- { text : 'TopAppBar 顶栏 ' , link : '/components/topappbar' } ,
56- { text : 'NavigationBar 导航栏 ' , link : '/components/navigationbar' } ,
57- { text : 'TabRow 标签栏 ' , link : '/components/tabrow' } ,
66+ { text : 'TopAppBar' , link : '/components/topappbar' } ,
67+ { text : 'NavigationBar' , link : '/components/navigationbar' } ,
68+ { text : 'TabRow' , link : '/components/tabrow' } ,
5869 ]
5970 } ,
6071 {
6172 text : '反馈组件' ,
6273 items : [
63- { text : 'ProgressIndicator 进度指示器' , link : '/components/progress' } ,
64- { text : 'Snackbar 提示条' , link : '/components/snackbar' } ,
74+ { text : 'Slider' , link : '/components/slider' } ,
75+ { text : 'ProgressIndicator' , link : '/components/progress' } ,
76+ ]
77+ } ,
78+ {
79+ text : '刷新组件' ,
80+ items : [
81+ { text : 'PullToRefresh' , link : '/components/pulltorefresh' } ,
82+ ]
83+ } ,
84+ {
85+ text : '其他组件' ,
86+ items : [
87+ { text : 'ColorPicker' , link : '/components/colorpicker' } ,
88+ { text : 'SearchBar' , link : '/components/searchbar' } ,
6589 ]
6690 }
6791 ]
0 commit comments