feat: basic setup for web with tailwind and routing

This commit is contained in:
2025-05-20 19:39:55 +02:00
parent ac07b5d723
commit afc9208269
17 changed files with 1647 additions and 256 deletions

View File

@ -1,17 +1,20 @@
import { createRoot } from "react-dom/client";
import "./index.css";
import { createBrowserRouter, RouterProvider } from "react-router-dom";
import App from "./App";
import "./index.css";
import LoginPage from "./pages/Login";
const root = document.getElementById("root")!;
const router = createBrowserRouter([
{
path: "/",
element: <div>Hello, World!</div>,
element: <App />,
},
{
path: "/login",
element: <div>Hello from /login!</div>,
element: <LoginPage />,
},
{
path: "/register",