0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/examples/solid/start-basic-cloudflare
Sheraff fcddd16f20
chore(examples): ignore .tanstack/ in every Start example
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 2026-11-09 15:00:55 +01:00
..
.devcontainer docs: add devcontainer.json to all e2e/examples (#6972) 2026-03-18 15:43:14 +01:00
.vscode docs(solid-start): start-basic-cloudflare example (#5567) 2025-10-21 17:29:01 +02:00
public docs(solid-start): start-basic-cloudflare example (#5567) 2025-10-21 17:29:01 +02:00
src chore(examples): regenerate route trees through the example builds 2026-10-26 13:18:57 +01:00
.gitignore chore(examples): ignore .tanstack/ in every Start example 2026-11-09 15:00:55 +01:00
.prettierignore docs(solid-start): start-basic-cloudflare example (#5567) 2025-10-21 17:29:01 +02:00
package.json ci: Version Packages (#8891) 2026-11-08 10:47:39 +01:00
README.md docs(solid-start): start-basic-cloudflare example (#5567) 2025-10-21 17:29:01 +02:00
tsconfig.json chore: upgrade tooling to typescript 6 (#7024) 2026-03-23 22:59:52 +01:00
vite.config.ts docs: update examples/e2e to vite 8 (#6958) 2026-03-17 20:37:11 +01:00
worker-configuration.d.ts docs: update examples/e2e to vite 8 (#6958) 2026-03-17 20:37:11 +01:00
wrangler.jsonc docs(solid-start): start-basic-cloudflare example (#5567) 2025-10-21 17:29:01 +02:00

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.