testsAndMisc/kcd2_dice_solver/src/main.tsx
Krzysztof kuhy Rudnicki 3babda92d2 Track kcd2_dice_solver app and add run.sh dependency installer
The Vite/React/TS dice solver had no git history yet. Commit it alongside
a run.sh that ensures Node/pnpm are present, installs deps, and starts
the dev server with a single command.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-21 18:17:13 +02:00

15 lines
323 B
TypeScript

import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { App } from "./App.tsx";
import "./index.css";
const container = document.getElementById("root");
if (!container) {
throw new Error("missing #root");
}
createRoot(container).render(
<StrictMode>
<App />
</StrictMode>,
);