feat(viewer): add Vue-based HUD, ops strip, and history window
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import "./style.css";
|
||||
import { GameViewer } from "./GameViewer";
|
||||
import "./styles/index.css";
|
||||
import { createApp } from "vue";
|
||||
import App from "./App.vue";
|
||||
import { viewerPinia } from "./ui/stores/pinia";
|
||||
|
||||
const root = document.querySelector<HTMLDivElement>("#app");
|
||||
|
||||
@@ -7,5 +9,6 @@ if (!root) {
|
||||
throw new Error("Missing #app root element");
|
||||
}
|
||||
|
||||
const viewer = new GameViewer(root);
|
||||
void viewer.start();
|
||||
createApp(App)
|
||||
.use(viewerPinia)
|
||||
.mount(root);
|
||||
|
||||
Reference in New Issue
Block a user