feat(demo): add multi-tab demo with dual BimEngine instances

New demo page with two independent BimEngine instances side by side,
draggable divider for resizing, and proper SDK-layer resize handling.
Replaces the iframe-based approach now that ManagerRegistry is instance-based.
Removes unused panelViewer vite config entry.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
yuding
2026-02-28 10:09:17 +08:00
parent 7d7fbd9c14
commit e91a460fea
3 changed files with 451 additions and 1 deletions

View File

@@ -16,7 +16,9 @@ export default defineConfig({
outDir: 'dist',
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html')
main: resolve(__dirname, 'index.html'),
viewer: resolve(__dirname, 'viewer.html'),
multiTab: resolve(__dirname, 'multi-tab.html')
}
}
}