DEV Community

Pacharapol Withayasakpunt
Pacharapol Withayasakpunt

Posted on

Tailwind but not purgeCSS, and be friendly with other frameworks

I see that it is possible in React, and other CSS-in-JS libraries.

GitHub logo bradlc / babel-plugin-tailwind-components

Use Tailwind with any CSS-in-JS library

But, what if I don't use React? (Vue / Vanilla JS)

Another thought is CSS module, but I find it extremely hard to Google for Tailwind CSS module (google just misunderstand...)

Top comments (1)

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

As long as you don't use Bulma or Buefy, that is.

Purge CSS is at fault.