Skip to content
Source
Sign inSign up
TanStack/cli

docs(create): correct Nitro server output instructions #555

Mergedtannerlinsleymerged 1 commit intomain fromrefs/pull/555/headmerged by tannerlinsley

Showing 3 changed files with 9 additions and 4 deletions.

x
0 of 3 viewed, 3 left
5 additions and 0 deletions.changeset/nitro-server-entry.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/create': patch
+---
+​
+Correct the generated Nitro server command and deployment directory to match its .output build artifacts.
2 additions and 2 deletionspackages/create/src/frameworks/react/hosts/nitro/README.mdModified
View file
@@ -4,9 +4,9 @@
​
```bash
npm run build
-node dist/server/index.mjs
+node .output/server/index.mjs
```
​
-The build output is a self-contained Node server. To deploy, push the `dist/` directory to your host (Render, Fly.io, your own VPS, etc.) and run the server command above.
+The build output is a self-contained Node server. To deploy, push the `.output/` directory to your host (Render, Fly.io, your own VPS, etc.) and run the server command above.
​
For host-specific presets (Vercel, Netlify, Cloudflare, AWS Lambda, etc.) and tuning, see https://v3.nitro.build/deploy.
2 additions and 2 deletionspackages/create/src/frameworks/solid/hosts/nitro/README.mdModified
View file
@@ -4,9 +4,9 @@