server/assets/js/react/router.tsx

10 lines
180 B
TypeScript

import * as React from "react"
import { createBrowserRouter } from "react-router-dom"
export const router = createBrowserRouter([
{
path: "/",
element: <div />,
},
])