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?
5 Replies
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?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!
sounds good will update it to make the import explicit, thanks!
Thank you very much for your help and quick response!
Thank you kind sir :D!