loading...

Tailwind but not purgeCSS, and be friendly with other frameworks

patarapolw profile image Pacharapol Withayasakpunt ・1 min read

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...)

Discussion

pic
Editor guide
Collapse
jfbrennan profile image
Jordan Brennan

Tailwind should work just fine with Vue, is it not?

Collapse
patarapolw profile image
Pacharapol Withayasakpunt Author

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

Purge CSS is at fault.