12 lines
229 B
TypeScript
12 lines
229 B
TypeScript
|
|
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')!,
|
||
|
|
root: <App/>,
|
||
|
|
});
|
||
|
|
|
||
|
|
ui.mount();
|