add store and base api

This commit is contained in:
2023-08-05 14:58:27 +02:00
parent 8d75b18f61
commit 6988feae78
7 changed files with 161 additions and 4 deletions

14
src/router.tsx Normal file
View File

@@ -0,0 +1,14 @@
import { createBrowserRouter, RouteObject, RouterProvider } from 'react-router-dom'
const routes: RouteObject[] = [
{
path: '/',
element: <div>hello</div>,
},
]
const router = createBrowserRouter(routes)
export const Router = () => {
return <RouterProvider router={router} />
}