Skip to content
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

路由怎么不用4.x?代码分割和懒加载的方式还是webpack2.x吗? #38

Closed
zhi3210happy opened this issue Mar 15, 2018 · 2 comments

Comments

@zhi3210happy
Copy link

RT

@hq229075284
Copy link
Collaborator

#37 类似的问题,代码分割仍然使用require.ensure,后面会考虑import加/** 注释 **/的形式

@wd2010
Copy link

wd2010 commented Jun 12, 2018

我也在很久之前做了一个react服务端渲染的项目,使用的是import按需加载,解决了首屏白屏,代码分割,按需加载,热更新等功能,https://github.com/wd2010/React-universal-ssr,可以相互交流下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants