Setup Tailwind 2.0 with Create-React-App in 5 Minutes

Step 1: Install Dependencies

npx create-react-app ./client &&
cd client &&
npm install tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9 &&
npm install @craco/craco &&




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to add walletconnect with django.

Basic CRUD App setup with React, Node.js, Express, MySQL

Changes in Vue 3.2

Stack vs Queue from a developer point of view

Using Protocol Buffers in Angular

Top 10 Basic JavaScript Interview Topics with ReactJS

Creating a React audio player


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


More from Medium

The inception of Tailwind CSS in create-react-app with yarn

Learn Next.js setting up & routing in no time

Shipping Zero Javascript: A Proposal to Make The Web Lightning-Fast

How to add apple-app-site-association and assetlinks.json files in NextJs and ReactJs.