Skip to content

之前的更新日志

Compare
Choose a tag to compare
@xiaohuoni xiaohuoni released this 25 May 05:58
74ad474

增加

  • dva.js onError 和 initialState
  • 增加配置服务器地址,支持build之后可预览
  • 增加antd-pro-server,主要修改.umirc.mock.js
    20180517
  • 去除手动重定向路由,加入umi配置路由pages/_route.json
    20180518 更新[email protected]
  • 去掉NO_PROXY,[email protected] 已内置关闭MOCK=none
  • 更新React 16.3.0,修改componentWillReceiveProps为UNSAFE_componentWillReceiveProps
  • 增加插件umi-plugin-dll,二次编译速度提升70%

如果出现umi/#495问题,可以先注释掉.umirc.js里

  [
    "umi-plugin-dll",
    {
      exclude: [],
      include: ["dva", "dva/router", "dva/saga", "dva/fetch", "antd/es"]
    }
  ]