gamja/index.html
Simon Ser b449ace4b4
Switch to react
Under the hood, preact is used to reduce dependency size. We still don't
have a build stage, so htm is used instead of JSX.
2020-06-24 14:37:49 +02:00

16 lines
333 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>IRC client</title>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<script type="module">
import { html, render } from "/lib/index.js";
import App from "/components/app.js";
render(html`<${App}/>`, document.body);
</script>
</body>
</html>