-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.dumirc.ts
43 lines (42 loc) · 973 Bytes
/
.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
import { defineConfig } from 'dumi';
export default defineConfig({
base: '/react-papercss-design/',
publicPath: '/react-papercss-design/',
exportStatic: {},
resolve: {
atomDirs: [
{ type: 'components', dir: 'src' },
{ type: 'hooks', dir: 'src/hooks' },
],
},
outputPath: 'docs-dist',
styleLoader: {},
cssLoader: {},
locales: [
{
id: 'zh-CN',
name: '中文',
},
{
id: 'en-US',
name: 'English',
},
],
themeConfig: {
// name: 'react papercss',
nav: {
'zh-CN': [
{ title: '起步', link: '/guide' },
{ title: '组件', link: '/components/alert' },
{ title: 'Hooks', link: '/hooks/a' },
],
'en-US': [
{ title: 'Get Started', link: '/en-US/guide' },
{ title: 'Components', link: '/en-US/components/alert' },
],
},
socialLinks: {
github: 'https://github.com/hacker0limbo/react-papercss-design',
},
},
});