Template
Migrate to TanStack Start and pin the Vercel preset
Vercel auto-detected the Hydrogen preset from the @shopify/hydrogen dependency and failed building a 'hydrogen' Edge Function. The app is now TanStack Start (SSR via Nitro), and vercel.json pins the tanstack-start preset and installs with Corepack so Yarn 4 is used. - Router factory with per-request QueryClient and SSR query dehydration - Hono API mounted as a Start server route at /api/* - Account reads in loaders go through server functions (cookies on SSR) - Loaders prefetch listing pages so products are in the server HTML - Add graphql peer dependency for gql.tada Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c447c51e82
commit
160e65f0ed
+2
-2
@@ -4,7 +4,7 @@ VITE_SHOPIFY_DOMAIN=mock.shop
|
||||
# VITE_SHOPIFY_API_VERSION=2026-07
|
||||
|
||||
# Absolute origin used for canonical / Open Graph URLs
|
||||
# VITE_SITE_URL=http://localhost:5173
|
||||
# VITE_SITE_URL=http://localhost:3000
|
||||
|
||||
# Port for `yarn start`
|
||||
# Port for `yarn start` (Nitro reads PORT)
|
||||
# PORT=3000
|
||||
|
||||
Reference in New Issue
Block a user