dvajs / babel-plugin-dva-hmr

Hmr babel plugin for dva.
71 stars 17 forks source link

create-react-app 中使用dva-hmr #20

Open weiq opened 5 years ago

weiq commented 5 years ago

在create-react-app中配置dva-hmr还是整页刷新

module.exports = function override(config, env) {
// .....
  if (env === 'development') {
    config = injectBabelPlugin(['dva-hmr'], config);
  } 
// .....
};
caihaihong commented 4 years ago

请问解决了吗?