I can't get Tailwind css working

Hello everyone! I'm trying to set up Tailwind css support in my first WASP project, but I can't get it to work. I have already added my "tailwind.config.cjs", "postcss.config.cjs" and "/src/client/Main.css" files. Has anyone gone through this? Can you give me any additional clues?
No description
No description
No description
5 Replies
shayne
shayne2y ago
Yeah Tailwind support is pretty popular and should work. hmm... can you try stopping wasp then re-running wasp start? there are times where we have to restart the server when NPM deps change while wasp start is already running sadly also, are you importing Main.css in your MainPage.jsx component?
GuybrushThreepwood
ooops! it was that...I think it's another improvement we could do inside the tutorial: I never remembered to return the import of the Main.css!
shayne
shayne2y ago
sounds good will update it to make the import explicit, thanks!
GuybrushThreepwood
Thank you very much for your help and quick response!
martinsos
martinsos2y ago
Thank you kind sir :D!
Want results from more Discord servers?
Add your server