Please use `require("history").createHashHistory` instead of `require("history/createHashHistory")`.
错误提示:
Please use `require("history").createHashHistory` instead of `require("history/createHashHistory")`.
搜索常用的解决方案:
node_modules -> dva -> lib -> index.js
修改内容如下:
var _createHashHistory = _interopRequireDefault(require("history/createHashHistory"));
修改为:
var _createHashHistory = _interopRequireDefault(require("history").createHashHistory);
问题解决..
联系我->邮件写信