Auto-import /components
Closed this issue · 7 comments
Right now, tailwind/components
need to be manually imported. Let's figure out a way to automatically import them.
16ddd6b closes
Thanks for this add on! When I try to import from tailwind/components
, nothing is loaded -- that part of the compiled stylesheet has nothing in it. When I do a glob or name the file, nothing loads. Any idea what's going on or why?
I can look to reproduce, but I figured I'd just ask in case there's a simple solution I'm not thinking of.
Looks like I narrowed down the problem -- if @import "./components/button";
is before any of the @tailwind ...
, it works. If I move it after, it doesn't work. I'm wondering if this is related to TrySound/postcss-easy-import#24
@scottmessinger sorry about the delayed response!
You shouldn't have to @import "./components/button"
... this line should auto import the entire directory. I assume that's not working?
If so a reproduction would be helpful.
Yup! That's not working. I'll work on a reproduction.
@scottmessinger try 0.5.1, it might fix your issue