Skip to content

Commit c634c2e

Browse files
committed
Add docs for TanStack Start
1 parent 439e8e8 commit c634c2e

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

deploy/reference/frameworks.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,48 @@ The `astro:env` API is supported.
7878
Create high-quality web applications with Nuxt, the open source framework that
7979
makes full-stack development with Vue.js intuitive.
8080

81-
Nuxt requires no additional setup.
81+
Nuxt requires no additional setup. Deno Deploy automatically configures Nitro,
82+
so no additional preset configuration is needed.
8283

8384
### SolidStart (`solidstart`)
8485

8586
SolidStart is an open source meta-framework designed to unify components that
8687
make up a web application. It is built on top of Solid.
8788

88-
SolidStart requires no additional setup.
89+
SolidStart requires no additional setup. Deno Deploy automatically configures
90+
Nitro, so no additional preset configuration is needed.
91+
92+
### TanStack Start (`tanstackstart`)
93+
94+
TanStack Start is a full-stack React or Solid framework powered by TanStack
95+
Router. It uses Nitro as its server layer, which enables deployment to Deno
96+
Deploy.
97+
98+
To deploy TanStack Start on Deno Deploy, you need to install `nitro` and
99+
configure the Nitro Vite plugin:
100+
101+
1. Add `nitro` to your dependencies:
102+
103+
```bash
104+
deno add npm:nitro-nightly@latest
105+
# or npm install nitro-nightly@latest
106+
```
107+
108+
2. Configure your `vite.config.ts` to use the Nitro plugin:
109+
110+
```ts title="vite.config.ts"
111+
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
112+
import { defineConfig } from "vite";
113+
import { nitro } from "nitro/vite";
114+
import viteReact from "@vitejs/plugin-react";
115+
116+
export default defineConfig({
117+
plugins: [tanstackStart(), nitro(), viteReact()],
118+
});
119+
```
120+
121+
Deno Deploy automatically configures Nitro, so no additional preset
122+
configuration is needed.
89123

90124
### SvelteKit (`sveltekit`)
91125

0 commit comments

Comments
 (0)