Install Tailwind CSS
Install tailwindcss via npm, and then run the init command to generate your tailwind.config.js file.
Configure your template paths
Add the paths to all of your template files in your tailwind.config.js file.
Add the Tailwind directives to your CSS
Add the @tailwind directives for each of Tailwind’s layers to your ./src/index.css file.
Start your build process
Run your build process with npm run start.