平台型服务商上传代码不支持按需加载配置

发布于 7 年前作者 iguo15239 次浏览最后编辑 7 年前来自 issues

平台型服务商上传代码不支持按需加载配置,只要增加相关配置就会返回如下内容:

some path in ext_json not exist rid: 6110c96c-397ffe52-0bb2928a

按需注入配置:  “lazyCodeLoading”: “requiredComponents”,

按需注入文档:

https://developers.weixin.qq.com/miniprogram/dev/framework/ability/lazyload.html#%E7%94%A8%E6%97%B6%E6%B3%A8%E5%85%A5

1 回复
leishen
leishen1 楼4 年前

你好,麻烦检查下app-config.json、主包是否配置了“pages/index/index”页面?