uniapp分包教程
时间: 2023-08-22 21:06:59 浏览: 112
uniapp分包demo
分包是为了解决小程序的大小限制而采取的一种优化策略。在uni-app框架中,可以使用subPackages创建分包,并将静态资源或者js文件放入分包内,以减少主包的大小。微信小程序每个分包的大小限制是2M,总体积不能超过16M。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [uniapp小程序如何分包?完整详细步骤教给你【小白教程】](https://blog.csdn.net/Leijiang0504/article/details/122935826)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
- *2* *3* [uniapp和小程序如何分包,详细步骤手把手(图解)](https://blog.csdn.net/weixin_52691965/article/details/120034905)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文