refactor: move from next js to vite and tanstack router

This commit is contained in:
Kacper
2025-12-17 20:11:16 +01:00
parent 9954feafd8
commit 5136c32b68
263 changed files with 11148 additions and 10276 deletions

View File

@@ -0,0 +1,14 @@
import { createRouter, createMemoryHistory } from "@tanstack/react-router";
import { routeTree } from "../routeTree.gen";
export const router = createRouter({
routeTree,
defaultPendingMinMs: 0,
history: createMemoryHistory({ initialEntries: ["/"] }),
});
declare module "@tanstack/react-router" {
interface Register {
router: typeof router;
}
}