Skip to content

Commit 275374e

Browse files
authored
feat: update dumi version & config (#936)
1 parent b73f79c commit 275374e

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

.dumirc.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
// more config: https://d.umijs.org/config
21
import { defineConfig } from 'dumi';
2+
import path from 'path';
33

44
export default defineConfig({
5+
alias: {
6+
'rc-table$': path.resolve('src'),
7+
'rc-table/es': path.resolve('src'),
8+
},
9+
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],
510
themeConfig: {
611
name: 'Table',
12+
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
713
},
8-
mfsu: false,
9-
});
14+
});

docs/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
2-
title: rc-table
2+
hero:
3+
title: rc-table
4+
description: React table component with useful functions
35
---
46

7+
58
<embed src="../README.md"></embed>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@types/responselike": "^1.0.0",
6767
"@umijs/fabric": "^3.0.0",
6868
"cross-env": "^7.0.0",
69-
"dumi": "^2.0.0",
69+
"dumi": "^2.1.3",
7070
"enzyme": "^3.1.0",
7171
"enzyme-adapter-react-16": "^1.0.1",
7272
"enzyme-to-json": "^3.1.2",

0 commit comments

Comments
 (0)