Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update dumi version & config #936

Merged
merged 1 commit into from
Jan 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .dumirc.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
// more config: https://d.umijs.org/config
import { defineConfig } from 'dumi';
import path from 'path';

export default defineConfig({
alias: {
'rc-table$': path.resolve('src'),
'rc-table/es': path.resolve('src'),
},
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],
themeConfig: {
name: 'Table',
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
},
mfsu: false,
});
});
5 changes: 4 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
title: rc-table
hero:
title: rc-table
description: React table component with useful functions
---


<embed src="../README.md"></embed>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@types/responselike": "^1.0.0",
"@umijs/fabric": "^3.0.0",
"cross-env": "^7.0.0",
"dumi": "^2.0.0",
"dumi": "^2.1.3",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.1",
"enzyme-to-json": "^3.1.2",
Expand Down