started admin ui

This commit is contained in:
Vyacheslav K
2025-05-06 13:34:07 +03:00
parent a249143cde
commit f4c4fd9f4c
13 changed files with 1195 additions and 156 deletions

20
src/misc/router.js Normal file
View File

@@ -0,0 +1,20 @@
import {
createBrowserRouter
} from "react-router-dom";
import App from '../App';
export const router = createBrowserRouter([
{
path: "/",
element: <App page="form"/>,
},
{
path: "/dashboard",
element: <App page="dashboard"/>,
},
{
path: "/dashboard/:page",
element: <App/>,
},
]);