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

12 lines
229 B
TypeScript
Raw Normal View History

2026-04-07 16:29:21 +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 19:09:41 +08:00
root: <App/>,
2026-04-07 16:29:21 +08:00
});
ui.mount();