-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.umirc.ts
76 lines (75 loc) · 2.06 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
76
import { defineConfig } from 'dumi';
export default defineConfig({
title: '先知',
logo: ' ',
outputPath: 'dist',
mode: 'site',
hash: true,
publicPath: '/prophet/',
navs: [
null,
{
title: 'GitHub',
path: 'https://github.com/stbui/prophet',
},
],
menus: {
'/ui': [
{
title: '介绍',
children: ['/ui/intro'],
},
{
title: 'CRUD组件',
children: [
'/ui/antd/list',
'/ui/antd/create',
'/ui/antd/edit',
'/ui/antd/show',
'/ui/antd/delete',
],
},
{
title: '扩展组件',
children: [
'/ui/antd/dashboard',
'/ui/antd/layout',
'/ui/antd/datagrid',
],
},
],
'/component': [
{
title: 'CRUD组件',
children: [
'/component/List',
'/component/Create',
'/component/Edit',
'/component/Show',
'/component/Delete',
],
},
{
title: 'hook组件',
children: [
'/component/use-get-list',
'/component/use-get-one',
'/component/use-create',
'/component/use-edit',
'/component/use-delete',
'/component/use-mutation',
'/component/usequery',
'/component/use-query-with-store',
],
},
{
title: 'provider',
children: [
'/component/dataProvider',
'/component/authProvider',
'/component/translationProvider',
],
},
],
},
});