bradlc / babel-plugin-tailwind-components

Use Tailwind with any CSS-in-JS library
MIT License
332 stars 25 forks source link

Is .container functional in v1? #23

Closed azdanov closed 5 years ago

azdanov commented 5 years ago

I've been giving a try to the new version without any issue until .container.

It doesn't seem to work. Leaving empty stylesheet.

bradlc commented 5 years ago

Hey @azdanov. Plugins are not supported, sorry. I’ll look at making that more clear in the readme.

azdanov commented 5 years ago

@bradlc I'm curious what are the technical reason for this limitation, and what other plugins Tailwind CSS has?

bradlc commented 5 years ago

I should correct my previous comment: in more recent versions of Tailwind technically everything is a plugin. I guess what I really mean is that the babel plugin doesn’t support components (like .container) or third-party plugins

I don’t think this project will ever support components, but there might be a way to support utilities created by third-party plugins.

sanishkr commented 5 years ago

Any Update on Supporting third party/custom plugins of tailwind in macros.