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
History 2026-07-23 23:10:51 +02: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: regenerate route trees (#7853) 2026-07-19 09:20:56 +02:00
.gitignore docs(solid-start): start-basic-cloudflare example (#5567) 2025-10-21 17:29:01 +02:00
.prettierignore docs(solid-start): start-basic-cloudflare example (#5567) 2025-10-21 17:29:01 +02:00
package.json chore: migrate to typescript 7 (#7887) 2026-07-23 23:10:51 +02: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.