mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2024-12-26 22:30:44 -05:00
13 lines
384 B
JavaScript
13 lines
384 B
JavaScript
import { StrictMode } from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
import "./css/index.css";
|
|
import { createBrowserRouter, RouterProvider } from "react-router-dom";
|
|
import routes from "./routes";
|
|
|
|
const router = createBrowserRouter(routes);
|
|
|
|
createRoot(document.getElementById("root")).render(
|
|
<StrictMode>
|
|
<RouterProvider router={router} />
|
|
</StrictMode>,
|
|
);
|