start-core-deployment

Configure TanStack Start deployment, SSR modes, prerendering, and SEO for hosting platforms.

Updated Dec 21, 2025
One-click install
npx skills add https://github.com/Angael/veles --skill start-core-deployment-angael
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: start-core-deployment
Source: https://github.com/Angael/veles/tree/main/.agents/skills/start-core-deployment
Command: npx skills add https://github.com/Angael/veles --skill start-core-deployment-angael

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Deploying a TanStack Start application requires choosing the right hosting adapter, configuring per-route server-side rendering, and setting up prerendering and SEO metadata, all of which differ significantly across platforms like Cloudflare Workers, Netlify, and Node.js. ## Core Features & Use Cases - Multi-Platform Deployment: Configure hosting for Cloudflare Workers, Netlify, Vercel, Railway, Node.js/Docker, and Bun with the correct Vite plugins and build settings. - Selective SSR Control: Set ssr: true, false, or 'data-only' per route, including functional SSR decisions and inheritance rules between parent and child routes. - Prerendering and SEO: Generate static HTML at build time, manage meta tags and JSON-LD structured data via the head function, and build dynamic sitemaps with server routes. - Use Case: Deploy a TanStack Start app to Cloudflare Workers with the nodejs_compat flag, prerender marketing pages statically, and render a dashboard route client-only with ssr: false. ## Quick Start Configure my TanStack Start app to deploy to Cloudflare Workers with prerendering enabled and per-route SSR settings.

Frequently Asked Questions about start-core-deployment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a TanStack Start app to Cloudflare Workers?

Install @cloudflare/vite-plugin and wrangler, add the cloudflare plugin to vite.config.ts, and set the wrangler.jsonc main entry to @tanstack/react-start/server-entry. Include the nodejs_compat compatibility flag or Node.js APIs will fail at runtime.

How to disable SSR for a specific route in TanStack Start?

Set ssr: false on the route definition so loaders and rendering run only on the client. Use ssr: 'data-only' to run loaders on the server while rendering the component on the client.

Does TanStack Start support static prerendering?

Yes, enable the prerender option in the tanstackStart Vite plugin to generate static HTML at build time. Dynamic routes require crawlLinks or an explicit pages configuration to be discovered.

Why is process.env undefined in Cloudflare Workers with TanStack Start?

Cloudflare Workers inject environment variables per request, so module-scope process.env reads evaluate to undefined. Import env from cloudflare:workers or read process.env inside request handlers instead.

Can I deploy TanStack Start with Bun and React 18?

No, Bun deployment requires React 19 via the nitro bun preset. For React 18 projects, use the standard Node.js deployment target instead.