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

A simple guide on setting up a boilerplate create-react-app application with Tailwind CSS 2.0.

thoughtstile

--

Created on: 2021–02–08 14:45:14

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 &&
curl…

--

--