-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.dumirc.ts
44 lines (43 loc) · 1.14 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: 'Our Decade',
favicon: '/favicon.ico',
logo: '/logo.png',
footer: `Copyright © 2020-Present Yugle | <a href="https://beian.miit.gov.cn/">鲁ICP备2021036616号-3</a>`,
nav: [
// null, 若为null, 则开启navs嗅探模式
{
title: '2024篇征集中',
link: '/2024',
},
{
title: '往期',
link: '/summary',
},
],
socialLinks: {
// github: 'https://github.com/Yugle/ourdecade_web',
},
},
theme: { '@c-primary': '#1A73E8' },
metas: [
{
name: 'viewport',
content:
'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no',
},
],
extraBabelPlugins: [
[
'import',
{
libraryName: 'antd',
libraryDirectory: 'es',
style: 'css',
// style: true,
},
'antd',
],
],
})