Skip to content

Deploy a React Router 7+ site to Netlify with this template

License

Notifications You must be signed in to change notification settings

netlify/react-router-template

Repository files navigation

React Router Netlify Template

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

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
  • 💻 Configured for deployment to Netlify

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.

Building for Production

Create a production build:

npm run build

Deployment

This template is configured for deployment to Netlify.

See https://docs.netlify.com/welcome/add-new-site/ to add this project as a site in your Netlify account.

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.

About

Deploy a React Router 7+ site to Netlify with this template

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published