Running my NX workspace with multiple apps in a monorepo is what keeps me busy. Recently, I decided to spice things up by installing the latest version of "tailwindcss": "^3.0.2". Let me show you how I've set it up:
1. Check out my Package.json with dev dependencies
https://i.sstatic.net/i0cYf.png
2. Dive into my tailwind.config.js setup
https://i.sstatic.net/gY1jD.png
Currently dealing with some challenges:
Using button mixins in my SCSS file while applying both tailwind classes and my own custom button classes (Seems to be working fine) https://i.sstatic.net/8VyhX.png
Directly using Tailwind utility classes in HTML like "container mx-auto", "uppercase" (Not getting the desired styles applied) https://i.sstatic.net/28uYC.png
I'm puzzled as to why applying Tailwind utility classes directly on HTML elements isn't producing the expected results when it works perfectly fine through SCSS files. Any insights?