Bootstrapping React with Tailwind
as so I remember
- tags
- react
- tailwind
Contents
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:
| |
Previously
Next