微信小程序分包限制为:
分包设置格式如下实例代码:
"pages": [
"loading/loading" //主包
],
"subpackages": [
{
"root": "procurement", //分包名称
"pages": [ //分包内的页面(路径)
"index/index",
"myPassCard/myPassCard",
"apply/apply",
"usable/usable",
"unauthorized/unauthorized",
"authdriver/authdriver",
"applicationdetails/applicationdetails",
"rejectdetail/rejectdetail",
"createInvitecode/createInvitecode"
]
},
{
"root": "driver",
"pages": [
"index/index",
"driverPassCard/driverPassCard",
"useable/useable",
"unauthorized/unauthorized",
"applicationdetails/applicationdetails",
"rejectdetail/rejectdetail",
"apply/apply",
"changeWay/changeWay"
]
},
{
"root": "rural",
"pages": [
"index/index",
"ruralPassCard/ruralPassCard",
"stayconfirm/stayconfirm",
"useable/useable",
"changeGoods/changeGoods",
"loadconfirm/loadconfirm",
"writeLoadInfo/writeLoadInfo"
]
},
{
"root": "station",
"pages": [
"index/index",
"carList/carList",
"scan/scan",
"carListDetail/carListDetail"
]
},
{
"root": "GaoGuanju",
"pages": [
"index/index",
"myPassCard/myPassCard",
"useable/useable",
"audit/audit",
"rejected/rejected",
"chart/chart",
"credit/credit",
"creditDetail/creditDetail",
"scan/scan"
]
},
{
"root": "pages",
"pages": [
"login/login",
"forgetpassword/forgetpassword",
"register/register",
"setting/setting",
"qrCode/qrCode",
"message/message",
"historycredent/historycredent",
"resetPass/resetPass",
"search/search",
"historydetail/historydetail",
"credentialUsed/credentialUsed",
"about/about",
"addGoods/addGoods",
"deal/deal",
"messageDetail/messageDetail"
]
}
],