From 5d156416c997af171ce1f5b7e30b740e082275eb Mon Sep 17 00:00:00 2001 From: iMax Date: Thu, 5 Dec 2024 22:15:23 +0100 Subject: [PATCH] Recollage au main --- front/src/main.tsx | 14 ++++++++++++++ front/src/pages/{main.tsx => MainPage.tsx} | 0 2 files changed, 14 insertions(+) create mode 100644 front/src/main.tsx rename front/src/pages/{main.tsx => MainPage.tsx} (100%) diff --git a/front/src/main.tsx b/front/src/main.tsx new file mode 100644 index 0000000..ce00332 --- /dev/null +++ b/front/src/main.tsx @@ -0,0 +1,14 @@ +import { BrowserRouter, Route, Routes } from "react-router"; +import { createRoot } from 'react-dom/client' +import MainPage from "./pages/MainPage.tsx"; +import GamePage from "./pages/GamePage.tsx"; + + +createRoot(document.getElementById('root')!).render( + + + } /> + } /> + + , +) diff --git a/front/src/pages/main.tsx b/front/src/pages/MainPage.tsx similarity index 100% rename from front/src/pages/main.tsx rename to front/src/pages/MainPage.tsx