-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy path.dumirc.ts
45 lines (43 loc) · 1.11 KB
/
.dumirc.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
import { defineConfig } from 'dumi';
export default defineConfig({
themeConfig: {
name: 'go-admin',
rtl: true,
mode: 'doc',
autoAlias: true,
prefersColor: { default: 'auto' },
logo:
'https://raw.githubusercontent.com/wenjianzhang/image/master/img/go-admin.png',
footer: `Open-source MIT Licensed | Copyright © 2020-present
<br />
Powered by go-admin-team`,
navs: {
'en-US': [
null,
{ title: 'GitHub', path: 'https://github.com/go-admin-team/go-admin' },
{
title: 'Changelog',
path: 'https://github.com/go-admin-team/go-admin/releases',
},
],
},
sitemap: {
hostname: 'https://www.go-admin.pro',
},
extraBabelPlugins: [
[
'import',
{
libraryName: 'antd',
libraryDirectory: 'es',
style: 'css',
},
],
],
fastRefresh: {},
hash: true,
scripts: ['https://hm.baidu.com/hm.js?f98a2f382011d17906899de9f676b294'],
// more config: https://d.umijs.org/config
ssr: process.env.NODE_ENV === 'development' ? false : {},
}
});