-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
可以配置react router 4.0 吗 #965
Labels
Comments
同问,有支持4.0的计划吗? |
同问 |
希望尽快支持react-router@4.x |
其实 import createHistory from 'history/createBrowserHistory'
import {
ConnectedRouter,
routerMiddleware,
routerReducer as routing,
} from 'react-router-redux';
import createDva from 'dva/lib/createDva';
const history = createHistory();
const dva = createDva({
mobile: false,
initialReducer: {
routing,
},
defaultHistory: history,
routerMiddleware,
setupHistory(history) {
this._history = history;
},
}); |
@sorrycc |
@nihgwu 支持你 |
@nihgwu 表示只用了dva-core。。。 |
抱歉,拖了太久了。已经在写了,尽快完成。https://github.com/dvajs/dva-core |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
求解
The text was updated successfully, but these errors were encountered: