-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.umirc.ts
60 lines (59 loc) · 1.18 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
import { defineConfig } from 'dumi';
import config from './config';
export default defineConfig({
title: 'Qinmei',
favicon: config.favicon,
logo: config.logo,
outputPath: 'dist',
mode: 'site',
navs: [
{
title: '博客',
path: '/blog',
},
{
title: 'React源码',
path: '/react',
},
{
title: 'QinVideo',
path: config.qinVideo,
},
{
title: 'Github',
path: config.github,
},
],
menus: {
'/blog': [
{
title: 'React进阶',
children: [
'blog/react/cra-init',
'blog/react/component-extend',
'blog/react/error-throw',
'blog/react/class-and-hook',
'blog/react/mvc',
],
},
],
'/react': [
{
title: '总览',
children: ['react/code/overview', 'react/code/process'],
},
{
title: '架构设计',
children: ['react/status/todo'],
},
{
title: '理论实战',
children: ['react/status/todo'],
},
],
},
hash: true,
ssr: {},
exportStatic: {},
styles: [`*{box-sizing: border-box;color:#2c3e50} strong{color:#4569d4} img{width:100%}`],
});