wepy 解决分包加载问题

直接上代码

pages: ['pages/await', 'pages/index', 'pages/login'],

subPackages: [

{

root: 'pages/active',

pages: ['activeDetail', 'activeIndex', 'activeEnroll', 'activeTicket']

},

{

root: 'pages/article',

pages: ['articleType', 'detail']

},

{

root: 'pages/shop',

pages: [

'find',

'good-detail',

'good-list',

'confirm-order',

'set-address',

'shopcart',

'my',

'order-list',

'pay-way',

'login',

'pay-result',

'membership-card',

'coupon',

'my-coupon-list',

'my-collection',

'order/logistics',

'order/refund'

]

}

],

wepy 解决分包加载问题_第1张图片

你可能感兴趣的:(wepy 解决分包加载问题)