lotine/src/main.tsx
Shinwoo PARK 6c97c5927c feat: initialize react router project
initialized with `create-vite@latest --template react-ts`, replaced eslint with biome, added tailwindcss & react-router
2025-02-28 08:43:14 +00:00

16 lines
397 B
TypeScript

import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { BrowserRouter, Route, Routes } from "react-router";
import "./index.css";
import App from "./App.tsx";
createRoot(document.getElementById("root")!).render(
<StrictMode>
<BrowserRouter>
<Routes>
<Route index element={<App />} />
</Routes>
</BrowserRouter>
</StrictMode>
);