3 ms·
When trying HTMX, I decided to use Tailwind for layout. Tailwind requires npm and Node to work. It was my first experience with Node. I already had some Node ve
by kgeist 3y ago
When trying HTMX, I decided to use Tailwind for layout. Tailwind requires npm and Node to work. It was my first experience with Node. I already had some Node version installed on my machine. Running Tailwind gave some vague "Unexpected token ?" error and nothing else. After I bumped Node's version, it worked. Sure not using the latest versions of the tools is a bad idea, but the fact is, something from the JS ecosystem was basically the only thing in my stack which broke immediately (with a vague error, nothing like "hey, old version of Node!")
- bb88 3y agoThey have a standalone version of tailwind that doesn't use node.js/npm. https://tailwindcss.com/blog/standalone-cli https://tailwindcss.com/blog/standalone-cli It's not as full featured, but it's pretty good frankly for what I do with it.