init: add code
This commit is contained in:
commit
2e8de85ee7
33 changed files with 3940 additions and 0 deletions
14
src/main.tsx
Normal file
14
src/main.tsx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { createRoot } from "react-dom/client";
|
||||
import { BrowserRouter, Routes, Route } from "react-router";
|
||||
import "./index.css";
|
||||
import App from "./App.tsx";
|
||||
import PastProjects from "./PastProjects.tsx"
|
||||
|
||||
createRoot(document.getElementById("root")!).render(
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route path="/" element={<App />} />
|
||||
<Route path="/pastprojects" element={<PastProjects />} />
|
||||
</Routes>
|
||||
</BrowserRouter>,
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue