Installing tailwind when not using a framework that comes pre-installed with is a 4 step-process!
Use tailwinder, it installs & initialize tailwindcss in just one command
@tailwind
directives in your main CSS file (input.css)--watch
flag which genrates 'output.css' in /dist
dir.Install using npm i -D tailwinder
Run command tlw install
or tlw i
.
Include 'output.css' in your desired file (.html/.jsx)