Create base webui

This commit is contained in:
Mathias Wagner
2025-09-09 12:00:12 +02:00
parent 439578434e
commit 0eb7e9d4ca
13 changed files with 741 additions and 16 deletions

View File

@@ -1,10 +1,18 @@
import { createBrowserRouter, Navigate, RouterProvider } from "react-router-dom";
import "@/common/styles/main.sass";
import Root from "@/common/layouts/Root.jsx";
const App = () => {
const router = createBrowserRouter([
{
path: "/",
element: <Root />,
children: [
{ path: "/", element: <Navigate to="/servers" /> },
],
},
]);
return (
<>
<h1>vite init</h1>
</>
)
}
return <RouterProvider router={router}/>;
};
export default App;