-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.umirc.ts
63 lines (62 loc) · 1.37 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
import { defineConfig } from 'dumi';
import config from './config';
export default defineConfig({
title: 'Qinvideo',
favicon: config.favicon,
logo: config.logo,
outputPath: 'dist',
mode: 'site',
navs: [
{
title: '文档',
path: '/docs',
},
{
title: '教程',
path: '/course',
},
{
title: 'Github',
path: config.github,
},
],
menus: {
'/docs': [
{
title: '基本信息',
children: ['docs/info/introduce.md', 'docs/info/preview.md'],
},
{
title: '安装部署',
children: ['docs/deploy/install.md', 'docs/deploy/update.md', 'docs/deploy/ssr.md'],
},
{
title: '模块说明',
children: [
'docs/module/video.md',
'docs/module/comic.md',
'docs/module/post.md',
'docs/module/blog.md',
'docs/module/user.md',
'docs/module/shop.md',
'docs/module/cloud.md',
'docs/module/setting.md',
],
},
{
title: '系统测试',
children: ['docs/test/performance.md'],
},
],
'/course': [
{
title: '视频教程',
children: ['course/videos/install.md'],
},
],
},
hash: true,
ssr: {},
exportStatic: {},
styles: [`*{box-sizing: border-box;color:#2c3e50} strong{color:#4569d4} img{width:100%}`],
});