-
Notifications
You must be signed in to change notification settings - Fork 0
/
.umirc.ts
69 lines (68 loc) · 2.17 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
import { defineConfig } from 'dumi';
import path from 'path';
export default defineConfig({
title: 'Formily - V2 Docs',
base: '/docs/',
publicPath: '/docs/',
alias: {
'@': path.resolve(__dirname, './src'),
},
mode: 'site',
// mfsu: {},
// more config: https://d.umijs.org/config
menus: {
'/start': [
{
title: '快速开始',
path: '/start',
},
],
'/scene': [
{
title: 'scene',
children: [
{ title: '提交表单', path: '/scene/submit' },
{ title: '校验', path: '/scene/validator' },
{ title: '弹窗', path: '/scene/modal' },
{ title: '子表单', path: '/scene/child-form' },
],
},
],
'/scaffold': [
{
title: '推荐脚手架模板',
path: '/scaffold',
},
],
'/linkage': [
{
title: '主动联动',
children: [
{ title: '一对一联动', path: '/linkage/positive/one-to-one' },
{ title: '一对多联动', path: '/linkage/positive/one-to-multi' },
{ title: '多对一联动', path: '/linkage/positive/multi-to-one' },
{ title: '多对多联动', path: '/linkage/positive/multi-to-multi' },
{ title: '链式联动', path: '/linkage/positive/linked' },
{ title: '异步联动', path: '/linkage/positive/async' },
{ title: '自身联动', path: '/linkage/positive/self' },
],
},
{
title: '被动联动',
children: [
{ title: '一对一联动', path: '/linkage/negative/one-to-one' },
{ title: '一对多联动', path: '/linkage/negative/one-to-multi' },
{ title: '多对一联动', path: '/linkage/negative/multi-to-one' },
{ title: '多对多联动', path: '/linkage/negative/multi-to-multi' },
{ title: '链式联动', path: '/linkage/negative/linked' },
{ title: '异步联动', path: '/linkage/negative/async' },
{ title: '自身联动', path: '/linkage/negative/self' },
],
},
{
title: '路径系统',
children: [{ title: '常用路径', path: '/linkage/path/main' }],
},
],
},
});