问题模块 框架类型 终端类型 操作系统 微信版本 基础库版本
框架 微信小程序 6.6.5 1.9.92
微信小程序直接启动分包所在的页面报错?测试开发工具、预览直接启动分包所在的页面不会报错;远程调试模式直接运行分包页面报错:
微信小程序目录结构:

app.json配置分包:

通过添加编译模式,直接启动pages/main/indexMain/indexMain
远程调试模式直接运行分包页面报错,所有js事件失效

微信小程序开发问题解答
微信小程序开发者回答:
不能的,首页页面和 tab 页面必须放在主包
本文网址:http://www.91bianli.com/weixinxiaochengxu/48939.html