I encountered this when I was working on the taro project, so taro can also be used
- Add navigateToMiniProgramAppIdList to app.js config to configure the
id of the mini program you want to jump to
navigateToMiniProgramAppIdList: [
"wx328"
],
2. Then jump through the event
wx.navigateToMiniProgram({
appId: '',
path: 'page/index/index?id=123',
extraData: {
foo: 'bar'
},
Unfair look at the document here