chore: initialize project
Deploy monie-web to prod (kaniko) / build-and-deploy (push) Successful in 12m10s

This commit is contained in:
2026-04-12 16:27:24 +03:00
commit 691c6f574f
49 changed files with 11356 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { createRouter as createTanStackRouter } from '@tanstack/react-router';
import { getContext } from './integrations/tanstack-query/root-provider';
import { routeTree } from './routeTree.gen';
export function getRouter() {
const context = getContext();
const router = createTanStackRouter({
routeTree,
context,
scrollRestoration: true,
defaultPreload: 'intent',
defaultPreloadStaleTime: 0
});
return router;
}
declare module '@tanstack/react-router' {
interface Register {
router: ReturnType<typeof getRouter>;
}
}