-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dumirc.ts
27 lines (26 loc) · 1.07 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
import { defineConfig } from 'dumi';
export default defineConfig({
base: process.env.NODE_ENV === 'production' ? '/react-customize-data-table/' : '/',
publicPath: process.env.NODE_ENV === 'production' ? '/react-customize-data-table/' : '/',
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],
themeConfig: {
name: 'react-customize-data-table',
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
nav: [
{ title: 'Demo', link: '/demo/basic' },
{ title: 'API', link: '/api' },
{ title: 'Guide', link: '/guide' },
{ title: 'Question', link: '/question' },
],
},
locales: [
{ id: 'zh-CN', name: '中文' },
{ id: 'en-US', name: '英文' },
],
// title: 'react-customize-data-table',
// favicon:
// 'https://user-images.githubusercontent.com/9554297/83762004-a0761b00-a6a9-11ea-83b4-9c8ff721d4b8.png',
// logo: 'https://user-images.githubusercontent.com/9554297/83762004-a0761b00-a6a9-11ea-83b4-9c8ff721d4b8.png',
// outputPath: 'docs-dist',
// more config: https://d.umijs.org/config
});