Skip to content

A boilerplate for creating React apps with TailwindCSS. Includes preconfigured React, TailwindCSS, PostCSS, ESLint, and Prettier.

Notifications You must be signed in to change notification settings

Youssef-kobi/react-tailwindcss-boilerplate

Repository files navigation


React TailwindCSS Boilerplate
React TailwindCSS Boilerplate

A boilerplate for creating React applications with TailwindCSS.

npm version GitHub stars

AboutFeaturesGetting StartedBuilt WithLicenseContributing

About

This project is a boilerplate for creating React applications with TailwindCSS. It includes a preconfigured setup with React, TailwindCSS, and PostCSS, as well as a basic directory structure and example files to help you get started quickly.

Features

  • React: The project is based on the React library, which provides a fast and efficient way to create user interfaces.
  • TailwindCSS: The project uses TailwindCSS for styling, which allows for rapid UI development by providing a set of pre-defined classes that can be easily customized.
  • PostCSS: The project uses PostCSS as a preprocessor for TailwindCSS, which allows for advanced features such as nesting, variables, and mixins.
  • ESLint: The project includes ESLint configuration to help enforce code consistency and catch common errors.
  • Prettier: The project includes Prettier configuration to help enforce code formatting consistency.

Getting Started

Prerequisites

  • Node.js (version 14 or higher)
  • npm (version 7 or higher) or yarn (version 1 or higher)

Installation

  1. Clone the repository:
git clone https://github.com/youssef-kobi/react-tailwindcss-boilerplate.git
  1. Install dependencies:
yarn install
# or
npm install

Development

To start the development server, run:

yarn start
# or
npm start

The application will be available at http://localhost:3000.

Build

To build the application for production, run:

yarn build
# or
npm run build

The build files will be located in the build directory.

Built with

Contribute

We welcome contributions! Please create an issue here to report bugs or suggest new features.

About

A boilerplate for creating React apps with TailwindCSS. Includes preconfigured React, TailwindCSS, PostCSS, ESLint, and Prettier.

Topics

Resources

Stars

Watchers

Forks