-
Notifications
You must be signed in to change notification settings - Fork 51
/
.umirc.js
94 lines (93 loc) · 1.92 KB
/
.umirc.js
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// 配置文件内容
export default {
// 配置项
favicon: '/sifo.ico',
logo: '/sifo.png',
mode: "site",
resolve: {
includes:['docs', 'packages']
},
menus: {
'/guide': [
{
title: 'Introduction',
// 对应的 Markdown 文件,路径是相对于 resolve.includes 目录识别的
//path: '../guide/description',
children: [
{
title: "description",
path: "../guide/description"
}
]
},
{
title: 'packages',
children: [
{
title: "sifo-model",
path: '../sifo-model'
},
{
title: "sifo-react",
path: '../sifo-react'
},
{
title: "sifo-mplg-react-optimize",
path: '../sifo-mplg-react-optimize'
},
{
title: "sifo-mplg-form-core",
path: '../sifo-mplg-form-core'
},
{
title: "sifo-mplg-form-antdv",
path: '../sifo-mplg-form-antdv'
},
{
title: "sifo-mplg-form-antd",
path: '../sifo-mplg-form-antd'
},
{
title: "sifo-vue",
path: '../sifo-vue'
},
{
title: "sifo-singleton",
path: '../sifo-singleton'
}
]
},
{
title: 'Other',
}
],
'sifo-model': [
{
title: "Introduction",
path: "../sifo-model"
},
{
title: "sifo-react",
path: "../sifo-react"
}
]
},
navs: [
{
title: 'Description',
path: '/guide',
},
{
title: 'sifo-react-demo',
path: '/sifo-react-doc',
},
{
title: 'sifo-vue-demo',
path: '//localhost:8080',
},
{
title: 'GitHub',
path: 'https://github.com/alibaba/schema-plugin-flow',
}
],
};