npm init -y
Install tailwindcss
npm i tailwindcss --save
Then create style.css file inside the src folder and crate another style.css file inside the dist folder.
Now import following code into your src/style.css
file:
```txt
@tailwind base;
@tailwind components;
@tailwind utilities;
5) Inside the package.json add this command under script
```json
{
"scripts": {
"build:css": "tailwind build src/style.css -o dist/style.css"
}
}
npm run build:css
it will compile the tailwind css.