From 8f7acf2e174340e076b1d1bbf6014ec1920a38cb Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 3 Mar 2022 21:41:59 -0600 Subject: [PATCH] Don't copy App --- src/main.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index 9342b84..5e8c305 100644 --- a/src/main.ts +++ b/src/main.ts @@ -47,9 +47,7 @@ requestAnimationFrame(async () => { const { globalBus, startGameLoop } = await require("./game/events"); // Create Vue - const vue = (window.vue = createApp({ - ...App - })); + const vue = (window.vue = createApp(App)); globalBus.emit("setupVue", vue); vue.mount("#app");