https://github.com/ryan0x44/remix-vite-tailwind
https://github.com/ryan0x44/remix-vite-tailwind
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryan0x44/remix-vite-tailwind
- Owner: ryan0x44
- Created: 2024-02-21T11:47:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-21T12:13:48.000Z (about 1 year ago)
- Last Synced: 2024-08-13T07:17:10.984Z (8 months ago)
- Language: TypeScript
- Size: 155 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - ryan0x44/remix-vite-tailwind - (TypeScript)
README
# Welcome to Remix + Vite!
📖 See the [Remix docs](https://remix.run/docs) and the [Remix Vite docs](https://remix.run/docs/en/main/future/vite) for details on supported features.
## Typegen
Generate types for your Cloudflare bindings in `wrangler.toml`:
```sh
npm run typegen
```This should have been done for you initially via the `postinstall` script,
but you will need to rerun typegen whenever you make changes to `wrangler.toml`.## Development
Run the Vite dev server:
```sh
npm run dev
```To run Wrangler:
```sh
npm run build
npm run start
```## Deployment
> [!WARNING]
> Cloudflare does _not_ use `wrangler.toml` to configure deployment bindings.
> You **MUST** [configure deployment bindings manually in the Cloudflare dashboard][bindings].First, build your app for production:
```sh
npm run build
```Then, deploy your app to Cloudflare Pages:
```sh
npm run deploy
```[bindings]: https://developers.cloudflare.com/pages/functions/bindings/