The Cloudflare Vite plugin now supports TanStack Start apps. Get started with new or existing projects.
New projects
Create a new TanStack Start project that uses the Cloudflare Vite plugin via the create-cloudflare CLI:
npm
npm create cloudflare@latest -- my-tanstack-start-app --framework=tanstack-startyarn
yarn create cloudflare my-tanstack-start-app --framework=tanstack-startpnpm
pnpm create cloudflare@latest my-tanstack-start-app --framework=tanstack-start
Existing projects
Migrate an existing TanStack Start project to use the Cloudflare Vite plugin:
- Install
@cloudflare/vite-pluginandwrangler
npm
npm i -D @cloudflare/vite-plugin wrangleryarn
yarn add -D @cloudflare/vite-plugin wranglerpnpm
pnpm add -D @cloudflare/vite-plugin wrangler
- Add the Cloudflare plugin to your Vite config
import { defineConfig } from "vite";import { tanstackStart } from "@tanstack/react-start/plugin/vite";import viteReact from "@vitejs/plugin-react";import { cloudflare } from "@cloudflare/vite-plugin";
export default defineConfig({ plugins: [ cloudflare({ viteEnvironment: { name: "ssr" } }), tanstackStart(), viteReact(), ],});- Add your Worker config file
wrangler.jsonc
{"$schema": "./node_modules/wrangler/config-schema.json","name": "my-tanstack-start-app","compatibility_date": "2025-10-11","compatibility_flags": ["nodejs_compat"],"main": "@tanstack/react-start/server-entry"}wrangler.toml
name = "my-tanstack-start-app"compatibility_date = "2025-10-11"compatibility_flags = ["nodejs_compat"]main = "@tanstack/react-start/server-entry"
- Modify the scripts in your
package.json
{ "scripts": { "dev": "vite dev", "build": "vite build && tsc --noEmit", "start": "node .output/server/index.mjs", "preview": "vite preview", "deploy": "npm run build && wrangler deploy", "cf-typegen": "wrangler types" }}See the TanStack Start framework guide for more info.
Source: Cloudflare
Latest Posts
- (Updated) Microsoft 365 Copilot: Prepare for your meeting with Copilot chat in Outlook mobile [MC1182702]
![(Updated) Microsoft 365 Copilot: Prepare for your meeting with Copilot chat in Outlook mobile [MC1182702] 2 pexels pixabay 68676](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Entra: Passkeys in Microsoft registration campaigns [MC1253746]
![Microsoft Entra: Passkeys in Microsoft registration campaigns [MC1253746] 3 pexels ben neale 123878 380337](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Power Pages – Power Pages version 9.8.3.x Pre-Production Release [MC1253733]
![Power Pages - Power Pages version 9.8.3.x Pre-Production Release [MC1253733] 4 pexels mikhail nilov 7681977](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Teams: Manage multiple phone numbers within one Teams account [MC1253752]
![Microsoft Teams: Manage multiple phone numbers within one Teams account [MC1253752] 5 pexels olly 840996](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![(Updated) Microsoft 365 Copilot: Prepare for your meeting with Copilot chat in Outlook mobile [MC1182702] 2 pexels pixabay 68676](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-68676-150x150.webp)
![Microsoft Entra: Passkeys in Microsoft registration campaigns [MC1253746] 3 pexels ben neale 123878 380337](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-ben-neale-123878-380337-150x150.webp)
![Power Pages - Power Pages version 9.8.3.x Pre-Production Release [MC1253733] 4 pexels mikhail nilov 7681977](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-mikhail-nilov-7681977-150x150.webp)
![Microsoft Teams: Manage multiple phone numbers within one Teams account [MC1253752] 5 pexels olly 840996](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-olly-840996-150x150.webp)
