https://github.com/fredericoo/cf-pages-remix-poc
https://github.com/fredericoo/cf-pages-remix-poc
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/fredericoo/cf-pages-remix-poc
- Owner: fredericoo
- Created: 2025-02-06T14:26:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-06T14:46:10.000Z (over 1 year ago)
- Last Synced: 2025-02-15T06:55:27.228Z (over 1 year ago)
- Language: TypeScript
- Size: 190 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Remix + Cloudflare!
- 📖 [Remix docs](https://remix.run/docs)
- 📖 [Remix Cloudflare docs](https://remix.run/guides/vite#cloudflare)
## Development
Run the dev server:
```sh
npm run dev
```
To run Wrangler:
```sh
npm run build
npm run start
```
## Typegen
Generate types for your Cloudflare bindings in `wrangler.toml`:
```sh
npm run typegen
```
You will need to rerun typegen whenever you make changes to `wrangler.toml`.
## Deployment
First, build your app for production:
```sh
npm run build
```
Then, deploy your app to Cloudflare Pages:
```sh
npm run deploy
```
## Styling
This template comes with [Tailwind CSS](https://tailwindcss.com/) already configured for a simple default starting experience. You can use whatever css framework you prefer. See the [Vite docs on css](https://vitejs.dev/guide/features.html#css) for more information.