You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/start/framework/react/hosting.md
+32-27Lines changed: 32 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,9 @@ Once you've chosen a deployment target, you can follow the deployment guidelines
20
20
21
21
-[`cloudflare-workers`](#cloudflare-workers): Deploy to Cloudflare Workers
22
22
-[`netlify`](#netlify): Deploy to Netlify
23
+
-[`nitro`](#nitro): Deploy using Nitro
23
24
-[`vercel`](#vercel): Deploy to Vercel
24
25
-[`railway`](#nodejs--railway--docker): Deploy to Railway
25
-
-[`nitro`](#using-nitro-v2): Deploy to a Nitro server
26
26
-[`node-server`](#nodejs--railway--docker): Deploy to a Node.js server
27
27
-[`bun`](#bun): Deploy to a Bun server
28
28
- ... and more to come!
@@ -78,6 +78,8 @@ export default defineConfig({
78
78
79
79
Deploy your application to Cloudflare Workers using their one-click deployment process, and you're ready to go!
80
80
81
+
A full TanStack Start example for Cloudflare Workers is available [here](https://github.com/TanStack/router/tree/main/examples/react/start-basic-cloudflare).
@@ -114,7 +116,9 @@ Add a `netlify.toml` file to your project root:
114
116
115
117
Deploy your application using their one-click deployment process, and you're ready to go!
116
118
117
-
### Vercel
119
+
### Nitro
120
+
121
+
[Nitro](https://nitro.build/) is an abstraction layer that allows you to deploy TanStack Start applications to [a wide range of providers](https://nitro.build/deploy).
118
122
119
123
**⚠️ During TanStack Start 1.0 release candidate phase, we currently recommend using:**
120
124
@@ -123,22 +127,21 @@ Deploy your application using their one-click deployment process, and you're rea
123
127
124
128
#### Using Nitro v2
125
129
126
-
**⚠️ `@tanstack/nitro-v2-vite-plugin` is a temporary compatibility plugin for using Nitro v2 as the underlying build tool for TanStack Start. Use this plugin if you experience issues with the Nitro v3 plugin. It does not support all of Nitro v3's features and is limited in it's dev server capabilities, but should work as a safe fallback, even for production deployments for those who were using TanStack Start's alpha/beta versions.**
127
-
128
-
If you want to use this plugin with bun please make sure to use [isolated installs](https://bun.com/docs/install/isolated#using-isolated-installs).
130
+
**⚠️ `@tanstack/nitro-v2-vite-plugin` is a temporary compatibility plugin for using Nitro v2 as the underlying build tool for TanStack Start. Use this plugin if you experience issues with the Nitro v3 plugin. It does not support all of Nitro v3's features and is limited in its dev server capabilities, but should work as a safe fallback, even for production deployments for those who were using TanStack Start's alpha/beta versions.**
To run TanStack Start applications in production with Bun, you need a custom server implementation.
240
+
Alternatively, you can use a custom server implementation.
236
241
237
242
We've created an optimized production server that provides intelligent static asset loading with configurable memory management.
238
243
@@ -307,4 +312,4 @@ STATIC_PRELOAD_VERBOSE=true bun run server.ts
307
312
🚀 Server running at http://localhost:3000
308
313
```
309
314
310
-
For a complete working example, check out the [TanStack Start + Bun example](../../../../examples/react/start-bun) in this repository.
315
+
For a complete working example, check out the [TanStack Start + Bun example](https://github.com/TanStack/router/tree/main/examples/react/start-bun) in this repository.
0 commit comments