portfolio/src/index.tsx
Cursor Agent 2e76528ac0
Port portfolio from Next.js/React to SolidJS with Vite
Replace Next.js App Router with Vite, solid-js, and @solidjs/router.
Convert all components, sections, hooks, and pages to SolidJS patterns
(signals, onMount, For, A). Swap lucide-react for lucide-solid and add
client-side routing with Vercel SPA rewrites.

Co-authored-by: Mike Karl <karl.mike2002@gmail.com>
2026-06-15 23:52:28 +00:00

20 lines
335 B
TypeScript

/* @refresh reload */
import { render } from "solid-js/web";
import { Router } from "@solidjs/router";
import App from "./App";
import "./globals.css";
const root = document.getElementById("root");
if (!root) {
throw new Error("Root element not found");
}
render(
() => (
<Router>
<App />
</Router>
),
root
);