You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im digging into Web Components and their various pros and cons. Twind seems to be a solid strategy for using Web Components and Tailwind. However, there doesn't seem to be a simple way to integrate Tailwind's preflights into Web Components. Is there a suggested approach at the moment?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Im digging into Web Components and their various pros and cons. Twind seems to be a solid strategy for using Web Components and Tailwind. However, there doesn't seem to be a simple way to integrate Tailwind's preflights into Web Components. Is there a suggested approach at the moment?
You can see an example of this in the Twind + Lit example: https://stackblitz.com/edit/tw-in-js-twind-jun54d?file=src%2Findex.ts
Some of the ideas in this thread seemed a little complex to have to write over and over in a component lib
Beta Was this translation helpful? Give feedback.
All reactions