Don't copy App
This commit is contained in:
parent
46fc9ea1ba
commit
8f7acf2e17
1 changed files with 1 additions and 3 deletions
|
@ -47,9 +47,7 @@ requestAnimationFrame(async () => {
|
||||||
const { globalBus, startGameLoop } = await require("./game/events");
|
const { globalBus, startGameLoop } = await require("./game/events");
|
||||||
|
|
||||||
// Create Vue
|
// Create Vue
|
||||||
const vue = (window.vue = createApp({
|
const vue = (window.vue = createApp(App));
|
||||||
...App
|
|
||||||
}));
|
|
||||||
globalBus.emit("setupVue", vue);
|
globalBus.emit("setupVue", vue);
|
||||||
vue.mount("#app");
|
vue.mount("#app");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue