-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
关于layout打包问题 #11143
Comments
由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。 |
umi 4 按页拆包,这确保了直接访问某个页面所下载的 js 量是最少的,所以必然有 loading 过程,可以创建 或者关闭拆包,但这会打包出很大的产物:https://umijs.org/docs/introduce/faq#%E5%8F%AF%E4%BB%A5%E5%85%B3%E9%97%AD-dynamicimport-%E5%90%97 |
因为layout作为首页加载, 应该有特定的loading. |
@fz6m 大佬 |
|
我在routes里面声明了一个布局,layout布局。
但是构建后layout也是异步加载的导致会出现一个loading
我不想出现这个loading,需要怎么解决呢?
感谢各位大佬 请指点
The text was updated successfully, but these errors were encountered: