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/framework/react/start/hosting.md
+33-33Lines changed: 33 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,22 +9,22 @@ Hosting is the process of deploying your application to the internet so that use
9
9
10
10
TanStack Start is **designed to work with any hosting provider**, so if you already have a hosting provider in mind, you can deploy your application there using the full-stack APIs provided by TanStack Start.
11
11
12
-
However, since hosting is one of the most crucial aspects of your application's performance, reliability, and scalability, we highly recommend using [Vercel](https://vercel.com?utm_source=tanstack) for the best possible hosting experience.
12
+
However, since hosting is one of the most crucial aspects of your application's performance, reliability, and scalability, we highly recommend using our Official Hosting Partner [Netlify](https://www.netlify.com?utm_source=tanstack).
Vercel is a leading hosting platform that provides a fast, secure, and reliable environment for deploying your web applications. With Vercel, you can deploy your TanStack Start application in just a few clicks and benefit from features like a global edge network, automatic scaling, and seamless integrations with GitHub and GitLab. Vercel is designed to make your development process as smooth as possible, from local development to production deployment.
24
+
Netlify is a leading hosting platform that provides a fast, secure, and reliable environment for deploying your web applications. With Netlify, you can deploy your TanStack Start application in just a few clicks and benefit from features like a global edge network, automatic scaling, and seamless integrations with GitHub and GitLab. Netlify is designed to make your development process as smooth as possible, from local development to production deployment.
25
25
26
-
- To learn more about Vercel, visit the [Vercel website](https://vercel.com?utm_source=tanstack)
27
-
- To sign up, visit the [Vercel dashboard](https://vercel.com/signup?utm_source=tanstack)
26
+
- To learn more about Netlify, visit the [Netlify website](https://www.netlify.com?utm_source=tanstack)
27
+
- To sign up, visit the [Netlify dashboard](https://www.netlify.com/signup?utm_source=tanstack)
28
28
29
29
## Deployment
30
30
@@ -33,15 +33,38 @@ Vercel is a leading hosting platform that provides a fast, secure, and reliable
33
33
34
34
When a TanStack Start application is being deployed, the `server.preset` value in the `app.config.ts` file determines the deployment target. The deployment target can be set to one of the following values:
35
35
36
+
-[`netlify`](#netlify): Deploy to Netlify
36
37
-[`vercel`](#vercel): Deploy to Vercel
37
38
-[`cloudflare-pages`](#cloudflare-pages): Deploy to Cloudflare Pages
38
-
-[`netlify`](#netlify): Deploy to Netlify
39
39
-[`node-server`](#nodejs): Deploy to a Node.js server
40
40
-[`bun`](#bun): Deploy to a Bun server
41
41
- ... and more to come!
42
42
43
43
Once you've chosen a deployment target, you can follow the deployment guidelines below to deploy your TanStack Start application to the hosting provider of your choice.
44
44
45
+
### Netlify
46
+
47
+
Set the `server.preset` value to `netlify` in your `app.config.ts` file.
Or you can use the `--preset` flag with the `build` command to specify the deployment target when building the application:
61
+
62
+
```sh
63
+
npm run build --preset netlify
64
+
```
65
+
66
+
Deploy you application to Netlify using their one-click deployment process, and you're ready to go!
67
+
45
68
### Vercel
46
69
47
70
Deploying your TanStack Start application to Vercel is easy and straightforward. Just set the `server.preset` value to `vercel` in your `app.config.ts` file, and you're ready to deploy your application to Vercel.
Copy file name to clipboardExpand all lines: docs/framework/react/start/overview.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,15 +68,15 @@ TanStack Start is not for you if:
68
68
69
69
TanStack works closely with our partners to provide the best possible developer experience while also providing solutions that work anywhere and are vetted by industry experts. Each of our partners plays a unique role in the TanStack ecosystem:
The leading hosting platform for web applications that provides a fast, secure, and reliable environment for deploying your web applications. We work closely with Vercel to ensure that TanStack Start applications not only deploy seamlessly to their platform, but also implement best practices for performance, security, and reliability regardless of where you end up deploying.
79
+
The leading hosting platform for web applications that provides a fast, secure, and reliable environment for deploying your web applications. We work closely with Netlify to ensure that TanStack Start applications not only deploy seamlessly to their platform, but also implement best practices for performance, security, and reliability regardless of where you end up deploying.
0 commit comments