-
Notifications
You must be signed in to change notification settings - Fork 1
/
.umirc.ts
75 lines (72 loc) · 2.33 KB
/
.umirc.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import { defineConfig } from 'dumi';
const kzuiCoreComponentsPath = (com) => `packages/kzui/src/components/${com}/index.md`
export default defineConfig({
title: 'kzui',
favicon: 'https://user-images.githubusercontent.com/9554297/83762004-a0761b00-a6a9-11ea-83b4-9c8ff721d4b8.png',
logo: 'https://user-images.githubusercontent.com/9554297/83762004-a0761b00-a6a9-11ea-83b4-9c8ff721d4b8.png',
outputPath: 'docs-dist',
publicPath: '/kzui/',
base: '/kzui',
mode: 'site',
menus: {
'/components': [
{
title: '快速开始',
path: '/components/getstart'
},
{
title: '基本组件',
children: [
// 相对于 https://d.umijs.org/config#includes
'components/button/index.md',
'components/icon/index.md',
'components/color-picker/index.md',
'components/empty/index.md',
'components/event-black-hole/index.md',
'components/richtext-editor/index.md',
'components/grid/index.md',
'components/scroll-container/index.md',
'components/steps/index.md',
'components/pager/index.md',
],
},
{
title: '提示(显示)组件',
children: [
'components/alert/index.md',
'components/notification/index.md',
'components/confirm/index.md',
'components/dialog/index.md',
'components/spin/index.md',
'components/poptip/index.md',
'components/popover/index.md',
'components/pop-confirm/index.md',
'components/table/index.md',
'components/tab/index.md'
],
},
{
title: '表单组件',
children: [
'components/input/index.md',
'components/number-input/index.md',
'components/checkbox/index.md',
'components/date-picker/index.md',
'components/date-range-picker/index.md',
'components/file-select/index.md',
'components/form/index.md',
'components/select/index.md',
'components/search-select/index.md',
'components/search/index.md',
'components/switch/index.md',
'components/radio/index.md',
],
},
],
},
theme: {
'@c-primary': '#3b9bf5',
},
locales: [['zh-CN', '中文']]
});
// more config: https://d.umijs.org/config