DEV Community

Discussion on: Angular 8/9/10 + Tailwind CSS Guide

 
seankerwin profile image
Sean Kerwin

Oh I forgot to say. You need to add material first, double check all is working and then add tailwind.

Doing it the other way causes issues with webpack

Thread Thread
 
zuratama profile image
Pepperwood

I found the solution to this angular theme and tailwind conflict.
change '~@angular/material/theming' to either '~@angular/material/_theming.scss' or
'relative_path_to_node_module (../../node_modules/@angular/material/_theme.scss'

html.developreference.com/article/...