boardgame-phaser/packages/boop-game/src/main.tsx

12 lines
229 B
TypeScript
Raw Normal View History

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