sorrycc / dva-boilerplate-isomorphic

Dva boilerplate for isomorphic.
73 stars 12 forks source link

代码分割问题 #7

Open 18613109040 opened 7 years ago

18613109040 commented 7 years ago

你好!我在路由用分割 <Route path='city' getComponent={ (nextState, callback)=>{ require.ensure([], (require) => {
callback(null, require('./routes/City')) }, 'city') } 点击到当前路由是界面闪一下就没了