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

源码里是用了dynamic import ? #58

Closed
Aaronphy opened this issue Mar 17, 2021 · 2 comments
Closed

源码里是用了dynamic import ? #58

Aaronphy opened this issue Mar 17, 2021 · 2 comments

Comments

@Aaronphy
Copy link

Aaronphy commented Mar 17, 2021

发现打包出来的时候多了一份chunk文件

@pd4d10
Copy link
Owner

pd4d10 commented Mar 19, 2021

无需 SSR 的版本是前端渲染的,懒加载可以减少首屏体积

如果需要打成一个包,可以配置一下打包工具,或者使用 SSR 版本

@pd4d10 pd4d10 closed this as completed Mar 19, 2021
@Aaronphy
Copy link
Author

无需 SSR 的版本是前端渲染的,懒加载可以减少首屏体积

如果需要打成一个包,可以配置一下打包工具,或者使用 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

2 participants