mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
The route generator writes its temporary files to .tanstack/tmp. Each Start example now ignores the directory on its own, as a project copied out of the monorepo (whose root ignores **/.tanstack). The five without a .gitignore get start-basic's entries. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
History
|
|
|---|---|---|
| .. | ||
| .devcontainer | ||
| .vscode | ||
| public | ||
| src | ||
| .gitignore | ||
| .prettierignore | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| worker-configuration.d.ts | ||
| wrangler.jsonc | ||
Start Basic Cloudflare
Getting Started
Install the dependencies
pnpm i
Start the development server
pnpm dev
Build for Production
pnpm build
Preview the production build
pnpm preview
Deploy to Cloudflare
pnpm run deploy
Accessing bindings
You can access Cloudflare bindings in server functions by using importable env:
import { env } from 'cloudflare:workers'
See src/routes/index.tsx for an example.