From 118f5995712380dbec792ad4cd51becde29cc4bc Mon Sep 17 00:00:00 2001 From: Nathaniel John Tampus Date: Thu, 12 Mar 2026 03:28:03 +0800 Subject: [PATCH 1/3] docs: update Nitro instructions for v3 beta --- docs/start/framework/react/guide/hosting.md | 12 +++++++----- docs/start/framework/solid/guide/hosting.md | 12 ++++++++++-- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/docs/start/framework/react/guide/hosting.md b/docs/start/framework/react/guide/hosting.md index 14b5f77e079..2637bbba560 100644 --- a/docs/start/framework/react/guide/hosting.md +++ b/docs/start/framework/react/guide/hosting.md @@ -215,16 +215,18 @@ For more details, see [Railway's documentation](https://docs.railway.com). ### Nitro -[Nitro](https://v3.nitro.build/) is an agnostic layer that allows you to deploy TanStack Start applications to [a wide range of hostings](https://v3.nitro.build/deploy). +[Nitro](https://nitro.build/) is an agnostic layer that allows you to deploy TanStack Start applications to [a wide range of hostings](https://nitro.build/deploy). -**⚠️ The [`nitro/vite`](https://v3.nitro.build/) plugin natively integrates with Vite Environments API as the underlying build tool for TanStack Start. It is still under active development and receives regular updates. Please report any issues you encounter with reproduction so they can be investigated.** +**⚠️ The [`nitro/vite`](https://nitro.build/) plugin natively integrates with Vite Environments API as the underlying build tool for TanStack Start. It is still under active development and receives regular updates. Please report any issues you encounter with reproduction so they can be investigated.** -install the nightly version of nitro by specifying the following in your package.json +1. Install `nitro`: -```json -"nitro": "npm:nitro-nightly@latest" +```bash +npm install nitro ``` +2. Add the plugin to your `vite.config.ts` file: + ```tsx import { tanstackStart } from '@tanstack/react-start/plugin/vite' import { defineConfig } from 'vite' diff --git a/docs/start/framework/solid/guide/hosting.md b/docs/start/framework/solid/guide/hosting.md index 5c374e8fd19..1a2e7ed399c 100644 --- a/docs/start/framework/solid/guide/hosting.md +++ b/docs/start/framework/solid/guide/hosting.md @@ -209,9 +209,17 @@ For more details, see [Railway's documentation](https://docs.railway.com). ### Nitro -[Nitro](https://v3.nitro.build/) is an agnostic layer that allows you to deploy TanStack Start applications to [a wide range of hostings](https://v3.nitro.build/deploy). +[Nitro](https://nitro.build/) is an agnostic layer that allows you to deploy TanStack Start applications to [a wide range of hostings](https://nitro.build/deploy). -**⚠️ The [`nitro/vite`](https://v3.nitro.build/) plugin natively integrates with Vite Environments API as the underlying build tool for TanStack Start. It is still under active development and receives regular updates. Please report any issues you encounter with reproduction so they can be investigated.** +**⚠️ The [`nitro/vite`](https://nitro.build/) plugin natively integrates with Vite Environments API as the underlying build tool for TanStack Start. It is still under active development and receives regular updates. Please report any issues you encounter with reproduction so they can be investigated.** + +1. Install `nitro`: + +```bash +npm install nitro +``` + +2. Add the plugin to your `vite.config.ts` file: ```tsx import { tanstackStart } from '@tanstack/solid-start/plugin/vite' From 3d74f42bbd681b8f110216dbdf6393c0125aef0f Mon Sep 17 00:00:00 2001 From: Nathaniel John Tampus Date: Thu, 12 Mar 2026 03:39:45 +0800 Subject: [PATCH 2/3] docs: move nitro to dev dependencies --- docs/start/framework/react/guide/hosting.md | 4 ++-- docs/start/framework/solid/guide/hosting.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/start/framework/react/guide/hosting.md b/docs/start/framework/react/guide/hosting.md index 2637bbba560..1707e725a8e 100644 --- a/docs/start/framework/react/guide/hosting.md +++ b/docs/start/framework/react/guide/hosting.md @@ -222,10 +222,10 @@ For more details, see [Railway's documentation](https://docs.railway.com). 1. Install `nitro`: ```bash -npm install nitro +npm install -D nitro ``` -2. Add the plugin to your `vite.config.ts` file: +2. Add the `nitro/vite` plugin to your `vite.config.ts` file: ```tsx import { tanstackStart } from '@tanstack/react-start/plugin/vite' diff --git a/docs/start/framework/solid/guide/hosting.md b/docs/start/framework/solid/guide/hosting.md index 1a2e7ed399c..cbb8f3cf6da 100644 --- a/docs/start/framework/solid/guide/hosting.md +++ b/docs/start/framework/solid/guide/hosting.md @@ -216,10 +216,10 @@ For more details, see [Railway's documentation](https://docs.railway.com). 1. Install `nitro`: ```bash -npm install nitro +npm install -D nitro ``` -2. Add the plugin to your `vite.config.ts` file: +2. Add the `nitro/vite` plugin to your `vite.config.ts` file: ```tsx import { tanstackStart } from '@tanstack/solid-start/plugin/vite' From c1864edcd3407f984164c98dfffffd07019b18c2 Mon Sep 17 00:00:00 2001 From: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Thu, 12 Mar 2026 10:16:23 +1300 Subject: [PATCH 3/3] Apply @seancassiere suggestions from code review Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com> --- docs/start/framework/react/guide/hosting.md | 2 +- docs/start/framework/solid/guide/hosting.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/start/framework/react/guide/hosting.md b/docs/start/framework/react/guide/hosting.md index 1707e725a8e..28668af2fab 100644 --- a/docs/start/framework/react/guide/hosting.md +++ b/docs/start/framework/react/guide/hosting.md @@ -222,7 +222,7 @@ For more details, see [Railway's documentation](https://docs.railway.com). 1. Install `nitro`: ```bash -npm install -D nitro +npm install nitro ``` 2. Add the `nitro/vite` plugin to your `vite.config.ts` file: diff --git a/docs/start/framework/solid/guide/hosting.md b/docs/start/framework/solid/guide/hosting.md index cbb8f3cf6da..649273b8275 100644 --- a/docs/start/framework/solid/guide/hosting.md +++ b/docs/start/framework/solid/guide/hosting.md @@ -216,7 +216,7 @@ For more details, see [Railway's documentation](https://docs.railway.com). 1. Install `nitro`: ```bash -npm install -D nitro +npm install nitro ``` 2. Add the `nitro/vite` plugin to your `vite.config.ts` file: