feat(web-tanstack): add TanStack Start app shell with tRPC client

This commit is contained in:
2026-04-06 14:50:16 +02:00
parent 2b9a1adafd
commit 8836fa5333
4 changed files with 143 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
import { Outlet, createRootRoute } from "@tanstack/react-router";
import { ApiProvider } from "@repo/api-client";
export const Route = createRootRoute({
component: () => (
<ApiProvider trpcUrl="http://localhost:3000/api/trpc">
<Outlet />
</ApiProvider>
),
});