I see that it is possible in React, and other CSS-in-JS libraries.
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)
As long as you don't use Bulma or Buefy, that is.
Purge CSS is at fault.