No description
Find a file
2026-01-30 17:06:54 +02:00
.vscode Initialize web application via create-cloudflare CLI 2026-01-07 19:29:42 +02:00
app init: add code 2026-01-30 17:06:54 +02:00
public Initialize web application via create-cloudflare CLI 2026-01-07 19:29:42 +02:00
workers Initialize web application via create-cloudflare CLI 2026-01-07 19:29:42 +02:00
.envrc init: add code 2026-01-30 17:06:54 +02:00
.gitignore Initialize web application via create-cloudflare CLI 2026-01-07 19:29:42 +02:00
eslint.config.ts init: add code 2026-01-30 17:06:54 +02:00
flake.nix init: add code 2026-01-30 17:06:54 +02:00
package.json init: add code 2026-01-30 17:06:54 +02:00
pnpm-lock.yaml init: add code 2026-01-30 17:06:54 +02:00
react-router.config.ts Initialize web application via create-cloudflare CLI 2026-01-07 19:29:42 +02:00
README.md Initialize web application via create-cloudflare CLI 2026-01-07 19:29:42 +02:00
shell.nix init: add code 2026-01-30 17:06:54 +02:00
tsconfig.cloudflare.json Initialize web application via create-cloudflare CLI 2026-01-07 19:29:42 +02:00
tsconfig.json Initialize web application via create-cloudflare CLI 2026-01-07 19:29:42 +02:00
tsconfig.node.json Initialize web application via create-cloudflare CLI 2026-01-07 19:29:42 +02:00
vite.config.ts Initialize web application via create-cloudflare CLI 2026-01-07 19:29:42 +02:00
wrangler.jsonc Initialize web application via create-cloudflare CLI 2026-01-07 19:29:42 +02:00

Welcome to React Router!

A modern, production-ready template for building full-stack React applications using React Router.

Features

  • 🚀 Server-side rendering
  • Hot Module Replacement (HMR)
  • 📦 Asset bundling and optimization
  • 🔄 Data loading and mutations
  • 🔒 TypeScript by default
  • 🎉 TailwindCSS for styling
  • 📖 React Router docs

Getting Started

Installation

Install the dependencies:

npm install

Development

Start the development server with HMR:

npm run dev

Your application will be available at http://localhost:5173.

Previewing the Production Build

Preview the production build locally:

npm run preview

Building for Production

Create a production build:

npm run build

Deployment

Deployment is done using the Wrangler CLI.

To build and deploy directly to production:

npm run deploy

To deploy a preview URL:

npx wrangler versions upload

You can then promote a version to production after verification or roll it out progressively.

npx wrangler versions deploy

Styling

This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever CSS framework you prefer.


Built with ❤️ using React Router.