Tailwinds with content.tsx
This doesn't change the CSS at all. What can I do to debug this? This is a fresh project with a content.tsx and tailwinds in style.css. Tailwinds works on the normal popup page but not here. Any help would be greatly appreciated! Thank you!
4 Replies
this is my tailwinds.config btw
One thing I will say is that this (https://github.com/PlasmoHQ/examples/tree/main/with-tailwindcss) does work. But curious as to why mine doesn't
GitHub
examples/with-tailwindcss at main · PlasmoHQ/examples
🔰 Example projects that demonstrate how to use the Plasmo Framework and integrate with popular tools - PlasmoHQ/examples
@dimsey has reached level 1. GG!
Oh figured it out
In content, you have to prefix the CSS with plasmo-[tailwinds], e.g.., plasmo-bg-red-500 instead of bg-red-500