接入vue3子应用

This commit is contained in:
2026-06-21 10:57:32 +08:00
parent 2499043df4
commit b14e3d1186
6 changed files with 1280 additions and 0 deletions

View File

@@ -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'
}
]