Skip to content
PromethiumJS
GitHubTwitter

Using Tailwind

As stated here, integrating with PromethiumJS is as easy as integrating with JavaScript, but integrating with Tailwind (and some other libraries) is dependent on your build tool or bundler. eg. Vite, Parcel, Webpack, Rollup, etc.

  • If you’re using Vite tooling with PromethiumJS, follow this guide from your project root directory, omitting the first step and replacing App.tsx with any of your project templates that you’d like to style using Tailwind. Alternatively, you can follow this guide and skip the step of including your compiled CSS in the <head> of your main html file (because Vite automatically handles this for you).
  • Follow this guide if you’re using Parcel.
  • Follow this guide if you’re using PromethiumJS with Astro.
  • Or else follow this guide.