Initial commit

This commit is contained in:
Samuel 2024-12-08 11:27:16 +01:00
commit d06e6d913e
27 changed files with 4378 additions and 0 deletions

23
src/index.tsx Normal file
View file

@ -0,0 +1,23 @@
/* @refresh reload */
import { render } from "solid-js/web";
import "./index.css";
import App from "./App";
import { Router } from "@solidjs/router";
const root = document.getElementById("root");
if (import.meta.env.DEV && !(root instanceof HTMLElement)) {
throw new Error(
"Root element not found. Did you forget to add it to your index.html? Or maybe the id attribute got misspelled?"
);
}
render(
() => (
<Router>
<App />
</Router>
),
root!
);