18 lines
384 B
TypeScript
18 lines
384 B
TypeScript
import { createBrowserRouter } from "react-router";
|
|
|
|
import { routes } from "./routes";
|
|
|
|
export const router = createBrowserRouter(
|
|
routes,
|
|
{
|
|
future: {
|
|
v7_relativeSplatPath: true,
|
|
v7_normalizeFormMethod: true,
|
|
v7_startTransition: true,
|
|
v7_fetcherPersist: true,
|
|
v7_partialHydration: true,
|
|
v7_skipActionErrorRevalidation: true,
|
|
},
|
|
}
|
|
);
|