Replies: 1 comment 4 replies
-
You absolutely can, yes. Something like this would suffice: import { install, extract } from '@twind/core';
const tw = install(userConfig, true);
const { html, css } = extract(`<div id="app" class="color-blue-500">...</div>`, tw); |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i'm curious weather twind support static site generation or not. It will be amazing if it does all the processing at build time to pre-generate the css.
pigment css(a css-in-js) has implemented this feature.
https://mui.com/blog/introducing-pigment-css/
Beta Was this translation helpful? Give feedback.
All reactions