Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

README.md

37 lines449 Bytes

1# Start Basic Netlify
2​
3## Getting Started
4​
5### Install the dependencies
6​
7```bash
8pnpm i
9```
10​
11### Start the development server
12​
13```bash
14pnpm dev
15```
16​
17### Build for Production
18​
19```bash
20pnpm build
21```
22​
23### Deploy to Netlify
24​
25```sh
26netlify deploy
27```
28​
29## Accessing bindings
30​
31You can access Cloudflare bindings in server functions by using importable `env`:
32​
33```ts
34import { env } from 'cloudflare:workers'
35```
36​
37See `src/routes/index.tsx` for an example.