Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@apply standalone #561

Closed
rightaway opened this issue Sep 29, 2018 · 1 comment
Closed

@apply standalone #561

rightaway opened this issue Sep 29, 2018 · 1 comment

Comments

@rightaway
Copy link

I'd like to start using utility first css in our applications incrementally before switching over fully to tailwind. I've found that in order to go utility first having @apply is very useful. Could it be separated into its own postcss plugin so it can be used on its own? Having the ability to include classes within other classes would be very useful.

@adamwathan
Copy link
Member

Would be nice to do this but ends up being a lot more complicated than it sounds because of things we are still trying to make @apply support like:

#313

It would also be impossible to make this feature of @apply work in a standalone package:

#516

...which would be frustrating to constantly need to explain to people :/

Might reconsider extracting this somehow down the road once our internal version is bullet-proofed, but for now no concrete plans to turn it into a separate plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants