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

Pro Tips For Designing Robust React Components

Dirty secrets on dependency injection and Angular — part 2

Angular CRUD service: Create it, Extend it

Making the connection between JS for loops and Elixir for loops

Arrow Functions vs Regular Function

The Genesis has just began- Thank you Austin Coding Academy#408

What’s lazy loading

What’s lazy loading?

what is react

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

Deploy a react app to a subdirectory

Painless development setup for React using Parcel (Part 1)

Refactoring React Apps for Active Record Query Methods

Creating web apps: the tale of a millennial JS developper