Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/SantaClaas/embedded-fan-control.
Something went wrong. Try again.
409 B · 11 lines
TSX
123456789101112import { render } from "@solidjs/web";import App from "./App";import "./app.css";
const mount = document.getElementById("app");
// Thrown rather than narrowed away, because a missing mount point means index.html and this file// have drifted apart — a build mistake, not a runtime condition to handleif (!mount) throw new Error("index.html is missing the #app element");
render(() => <App />, mount);