-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.umirc.ts
41 lines (40 loc) · 1.03 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
import { defineConfig } from 'dumi';
export default {
// ssr: {
// devServerRender: true,
// mode: 'stream', // 流式渲染
// },
// exportStatic: {}, // 预渲染
hash: true,
metas: [
{
name: 'keywords',
content:
'blog, dumi, 前端博客, 面试题, 算法, 运维, 算法, 数据结构, 前端全栈, 技术文档',
},
{
name: 'description',
content: '关注前端技术学习交流,记录与分享自己前端学习历程',
},
],
...defineConfig({
mode: 'site',
title: `JohnApache`,
dynamicImport: {
// loading: ''
}, // 启用按需加载
// description: 'JohnApache',
// logo: '',
locales: [], // 不需要多语言
// menus: {}, // 约定式 侧边导航
favicon: '/favicon.ico',
navs: [
null, // null 值代表保留约定式生成的导航,只做增量配置
{
title: 'GitHub',
path: 'https://github.com/JohnApache/blog',
},
],
// more config: https://d.umijs.org/config
}),
};