Hacker News new | ask | show | jobs
by tazu 917 days ago
Not parent, but I do. Go, SSR, vanilla JS, TailwindUI, SQLite, Litestream got us to $20k MRR for a niche CRM product.

TailwindUI provides HTML-only code and includes useful comments about class transitions, so I was able to handle the mobile hamburger menu and some form submission stuff in a tiny JS file, rather than React or Vue (which they also provide code for).

1 comments

How'd you get Tailwind working in Go? What combination of libraries?
I just use the Tailwind node package to watch for HTML class name changes in my Go templates, which recompiles the CSS served by the Go HTTP server.
how does the Node package handle Go {{ $foo }} in the templates?
It just ignores it and looks for HTML class names as far as I can tell. I think it's a "dumb regex search" type thing.