This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps to reproduce: | |
1. npx create-react-app my-app | |
2. yarn add --dev tailwindcss autoprefixer postcss-cli @fullhuman/postcss-purgecss | |
3. ./node_modules/.bin/tailwind init tailwind.js | |
4. touch tailwind.css | |
5. touch postcss.config.js | |
6. modify start script in package.json: "node scripts/start.js && postcss ./tailwind.css -o src/App.css -w", | |
7. modify build script in package.json: "node scripts/build.js && postcss ./tailwind.css -o src/App.css" |
NewerOlder