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

Figure out how to use twind #7

Closed
lucacasonato opened this issue May 18, 2021 · 0 comments · Fixed by #30
Closed

Figure out how to use twind #7

lucacasonato opened this issue May 18, 2021 · 0 comments · Fixed by #30

Comments

@lucacasonato
Copy link
Member

twind can do server side JIT CSS generation with tailwind style CSS. It would be really cool to add support for that: https://twind.dev/api/modules/twind_sheets.html.

It would require letting the user hook into the render pipeline somehow - they would need to setup twind just before rendering, extract css after the rendering is done, and then inject that into an inline stylesheet. On the client the user would also load twind to dynamically create more classes when components are rendered.

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

Successfully merging a pull request may close this issue.

1 participant