A modern, production-ready template for building full-stack React applications using React Router.
- π Server-side rendering
- β‘οΈ Hot Module Replacement (HMR)
- π¦ Asset bundling and optimization
- π Data loading and mutations
- π TypeScript by default
- π TailwindCSS for styling
- π React Router docs
Install the dependencies:
npm installStart the development server with HMR:
npm run devYour application will be available at http://localhost:5173.
Preview the production build locally:
npm run previewCreate a production build:
npm run buildDeployment is done using the Wrangler CLI.
To build and deploy directly to production:
npm run deployTo deploy a preview URL:
npx wrangler versions uploadYou can then promote a version to production after verification or roll it out progressively.
npx wrangler versions deployThis 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.