feat(tanstack): initialize TanStack project with routing, API, and error handling components

This commit is contained in:
Mauricio Siu
2025-04-06 03:53:25 -06:00
parent a0636d8083
commit 0d6ff904a8
51 changed files with 7387 additions and 0 deletions

13
tanstack/src/ssr.tsx Normal file
View File

@@ -0,0 +1,13 @@
/// <reference types="vinxi/types/server" />
import {
createStartHandler,
defaultStreamHandler,
} from '@tanstack/react-start/server'
import { getRouterManifest } from '@tanstack/react-start/router-manifest'
import { createRouter } from './router'
export default createStartHandler({
createRouter,
getRouterManifest,
})(defaultStreamHandler)