Closed lqx131499 closed 1 year ago
import { loadMicroApp } from 'qiankun' loadMicroApp({ name: 'demo2', entry: '//localhost:5175', container: '#appContainer', activeRule: '/', props: { parentStore: '11111', msg: '我是父应用传过来的值,传递给B应用' } })
legacyQiankun必须和packages的name一致才行,要不会再getMicroApp的时候获取不到对应的对象
legacyQiankun({ name: '@tools/demo2', devSandbox: true })