接入vue3子应用
This commit is contained in:
@@ -40,6 +40,15 @@ export const subApps: SubAppConfig[] = [
|
||||
iframe: true,
|
||||
keepAlive: true,
|
||||
routerMode: 'native'
|
||||
},
|
||||
{
|
||||
name: 'vue3-app',
|
||||
url: 'http://localhost:3001/',
|
||||
baseroute: '/vue3-app',
|
||||
// Vite 子应用必须开启 iframe 沙箱
|
||||
iframe: true,
|
||||
keepAlive: true,
|
||||
routerMode: 'native'
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user