yarn install
yarn serve
yarn build
wx.navigateTo({url: '/pages_sub/index/index'}); wx.navigateTo({url: '/pages_sub/index/index2'});
NOTE: 异步加载配置影响到开发工具加载异步分包的JS,但是,真机上是OK的. "lazyCodeLoading": "requiredComponents",
yarn install
yarn serve
yarn build
wx.navigateTo({url: '/pages_sub/index/index'}); wx.navigateTo({url: '/pages_sub/index/index2'});
NOTE: 异步加载配置影响到开发工具加载异步分包的JS,但是,真机上是OK的. "lazyCodeLoading": "requiredComponents",