import type { Route } from "react-location" export const routes: Route[] = [ { path: "/", element: () => import("./pages/landing-page").then((m) => ), }, { path: "docs", element: () => import("./pages/document-page").then((m) => ), children: [ { path: "*", element: ({ params }) => import(`./docs/${params["*"]}.md`).then((m) => ), }, ], }, ]