Skip to content

Commit 9d668ce

Browse files
committed
v0.1.1
1 parent b1b22cd commit 9d668ce

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

README.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
# umi-plugin-rematch
22

3-
Rematch plugin for umi.
3+
Rematch plugin for umi. Based on [umi-plugin-dva](https://github.com/umijs/umi/tree/master/packages/umi-plugin-dva).
44

55
---
66

7+
1. Install
8+
9+
```bash
10+
yarn add @jerexyz/umi-plugin-rematch
11+
```
12+
13+
1. Config in `.umirc.js`
14+
15+
```node
16+
['umi-plugin-rematch', { immer: true }]
17+
```
18+
719
Suggest to use together with umi-plugin-react, see website [umi-plugin-react](https://umijs.org/plugin/umi-plugin-react.html) for more.

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jerexyz/umi-plugin-rematch",
3-
"version": "0.0.3",
3+
"version": "0.1.1",
44
"main": "./lib/index.js",
55
"dependencies": {
66
"@rematch/core": "^1.1.0",
@@ -13,8 +13,7 @@
1313
"path-to-regexp": "1.7.0",
1414
"react-redux": "^6.0.1",
1515
"react-router-redux": "^5.0.0-alpha.9",
16-
"umi-utils": "1.3.1",
17-
"@rematch/immer": "^1.1.0"
16+
"umi-utils": "1.3.1"
1817
},
1918
"scripts": {
2019
"test": "umi-tools test",

0 commit comments

Comments
 (0)