This post is very old and contains obsolete information.
This is straight from the Tailwind Install Guide but here so I can remember it easier.
Setup the project
|
|
Install tailwindcss
|
|
Install craco
|
|
And change the scripts
part of package.json
:
|
|
Create a craco.config.js
file:
|
|
Tailwind Configuration
Create a tailwind.config.js
:
|
|
Add a src/index.css
file:
|
|