/react-tailwind-rsbuild-boilerplate

React + React Router + Tailwind Css with RSBuild boilerplate.

Primary LanguageTypeScriptThe UnlicenseUnlicense

React + Tailwind CSS + RSBuild Boilerplate

React + React Router + Tailwind Css with RSBuild boilerplate.

A bare minimum, and as much as un-opinionated as can be, boilerplate, so you can start develop and deploy React apps with Tailwind CSS and RSBuild.

Features

  • Blazingly Fast!
  • Routing and Lazy Loading routes
  • React Suspense
  • React 18
  • Importing svg as React Components
  • Fast Refresh
  • Tailwind CSS Forms and Typography
  • TypeScript
  • Create new project with npx create-rtw-app or yarn create rtw-app

Install

$ git clone && yarn

Development

Copy .env.example to .env or .env.local

$ yarn dev

Default port is 3000 (or first available port). You can pass --port.

Build

$ yarn build

Links