window object does weird things, rename root ID
when used with (window as any).app, it uses the element with id #app instead
This commit is contained in:
@@ -13,9 +13,10 @@ Framework7.use(Framework7Svelte);
|
||||
configureLitegraph(true);
|
||||
|
||||
const comfyApp = new ComfyApp();
|
||||
(window as any).app = comfyApp;
|
||||
|
||||
const app = new AppMobile({
|
||||
target: document.getElementById('app'),
|
||||
target: document.getElementById("app-root"),
|
||||
props: { app: comfyApp }
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user