forked from brick-design/brick-design
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.umirc.js
41 lines (40 loc) · 891 Bytes
/
.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
import { defineConfig } from 'dumi'
export default defineConfig({
mode: 'site',
title: 'Brick Design',
hash: true,
menus:{
'/guide': [
{
title: '简介',
children: ['guide/index', 'guide/getting-started'],
},
{
title: '基础配置',
children: ['guide/configs','guide/component-schema'],
},
{
title: '类型定义',
children: ['guide/types/ConfigType','guide/types/ComponentSchemaTypes'],
}
],
'/react': [
{
title: '介绍',
children: ['react/index', 'react/getting-started'],
},
{
title: '组件',
children: ['react/components/BrickProvider','react/components/BrickDesign','react/components/BrickTree'],
},
{
title: 'Api',
children: ['react/api/state','react/api/functions'],
}
],
},
navs: [
null,
{ title: 'GitHub', path: 'https://github.com/brick-design/react-visual-editor' },
],
})