2026-04-04 12:14:26 +08:00
|
|
|
import { h } from 'preact';
|
|
|
|
|
import { GameUI } from 'boardgame-phaser';
|
2026-04-03 15:18:47 +08:00
|
|
|
import './style.css';
|
2026-04-04 12:14:26 +08:00
|
|
|
import App from "@/ui/App";
|
2026-04-03 15:18:47 +08:00
|
|
|
|
|
|
|
|
const ui = new GameUI({
|
|
|
|
|
container: document.getElementById('ui-root')!,
|
2026-04-12 17:21:49 +08:00
|
|
|
root: <App/>,
|
2026-04-03 15:18:47 +08:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
ui.mount();
|