DEV Community

Discussion on: Building Tailwind CSS in an Angular CLI project

Collapse
 
jboothe profile image
Jeff Boothe

Fine Job, Michael!

The genius of this post is the section: "Separating Tailwind CSS from the rest".

For those of you who have struggled with the other 4 or 5 other Angular/Tailwind examples out there - save your yourself the headache of installing additional postcss loaders to accommodate your custom or nested scss, or file/image loaders to find relative paths like, url(my.png), and the same with font references. Phew!

It just makes so much sense to isolate Tailwind and target it only with a custom webpack config.

Again, Kudos!