forked from 7kms/react-illustration-series
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.umirc.ts
76 lines (75 loc) · 2.08 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';
// More config: https://d.umijs.org/config.
const ghPagePublicPath = '/react-illustration-series/';
export default defineConfig({
title: '图解React',
mode: 'site',
favicon: `${ghPagePublicPath}[email protected]`,
description:
'基于[email protected].尽可能跟随react版本的升级,持续更新. 用大量配图的方式, 致力于将`react原理`表述清楚.',
locales: [['zh-CN', '中文']],
logo: `${ghPagePublicPath}logo.png`,
base: ghPagePublicPath,
publicPath: ghPagePublicPath,
menus: {
'/main': [
{
title: '基本概念',
children: [
'main/macro-structure.md',
'main/workloop.md',
'main/object-structure.md',
],
},
{
title: '运行核心',
children: [
'main/reconciler-workflow.md',
'main/bootstrap.md',
'main/priority.md',
'main/scheduler.md',
'main/fibertree-prepare.md',
'main/fibertree-create.md',
'main/fibertree-update.md',
'main/fibertree-commit.md',
],
},
{
title: '状态管理',
children: [
'main/state-effects.md',
'main/hook-summary.md',
'main/hook-state.md',
'main/hook-effect.md',
'main/context.md',
],
},
{
title: '交互',
children: ['main/synthetic-event.md'],
},
],
},
navs: [
null,
{
title: 'GitHub',
path: 'https://github.com/7kms/react-illustration-series',
},
],
hash: true,
dynamicImport: {},
exportStatic: {},
metas: [
{
name: 'keywords',
content:
'react, react原理, 图解react, react fiber原理, react hook原理, react 合成事件, react 基本包结构',
},
{
name: 'description',
content:
'图解React原理系列, 以react核心包结构和运行机制为主线索进行展开. 包括react 基本包结构, react 工作循环, react 启动模式, react fiber原理, react hook原理, react 合成事件等核心内容',
},
],
});