有个项目有40个页面,编译成微信小程序有6M,如何使用taro拆解成几个子包? #19039
Unanswered
ravencrown
asked this question in
Q & A
Replies: 1 comment
-
|
40个页面就6MB你这代码明显有问题,要么是图片太多了,分包有配置分包的地方 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
有个项目有40个页面,编译成微信小程序有6M,如何使用taro拆解成几个子包?
看官方文档,拆出来的所有子包,都必须是一个完整的taro整包(包含各种公共依赖包,包括taro本身的公共包)。这样每个子包都有一堆公共包,放不了几个页面,请问各位大神,如何解决?
Beta Was this translation helpful? Give feedback.
All reactions