Add TailwindCSS to SinatraRB

47 Views Asked by At

What is the easiest way nowadays to add TailwindCSS 3.4 to a Sinatra 4 app? Is there a way to avoid npm and all the JS complexity that comes with that?

1

There are 1 best solutions below

1
Wongjn On

If you want to avoid installing Tailwind CSS via the Node.js ecosystem, i.e. npm, you can download and use the standalone binary which is described as a:

[…] standalone CLI build that gives you the full power of Tailwind CLI in a self-contained executable — no Node.js or npm required.