build: add react vite scaffold

This commit is contained in:
vince 2026-06-19 23:26:28 +02:00
parent abfb885851
commit f6d6d39a7b
9 changed files with 254 additions and 8 deletions

13
src/main.tsx Normal file
View file

@ -0,0 +1,13 @@
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import App from "./App";
import "./app.css";
const root = document.getElementById("root");
if (!root) throw new Error("Missing React root element");
createRoot(root).render(
<StrictMode>
<App />
</StrictMode>,
);