Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 715 Bytes

File metadata and controls

40 lines (26 loc) · 715 Bytes

React Router v7 Cloudflare Template

This is a template repository for creating a React Router v7 application with Cloudflare Workers.

You can use this template to quickly set up a new project. This minimal template features

  • React 19
  • Vite 6
  • Prettier formatting

Quick Start

To create a new project using this template, run the following command:

npx create-react-router@latest --template AdiRishi/react-router-cloudflare-template

Development

To deploy the project using vite dev, run:

npm run dev

To run the final build using wrangler locally, run:

npm run build
npm run start

Deployment

To deploy the project using Wrangler, run:

npm run deploy