File tree 2 files changed +15
-4
lines changed
2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 1
1
# umi-plugin-rematch
2
2
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 ) .
4
4
5
5
---
6
6
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
+
7
19
Suggest to use together with umi-plugin-react, see website [ umi-plugin-react] ( https://umijs.org/plugin/umi-plugin-react.html ) for more.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @jerexyz/umi-plugin-rematch" ,
3
- "version" : " 0.0.3 " ,
3
+ "version" : " 0.1.1 " ,
4
4
"main" : " ./lib/index.js" ,
5
5
"dependencies" : {
6
6
"@rematch/core" : " ^1.1.0" ,
13
13
"path-to-regexp" : " 1.7.0" ,
14
14
"react-redux" : " ^6.0.1" ,
15
15
"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"
18
17
},
19
18
"scripts" : {
20
19
"test" : " umi-tools test" ,
You can’t perform that action at this time.
0 commit comments