Hacker News new | ask | show | jobs
by perfmode 913 days ago
How'd you get Tailwind working in Go? What combination of libraries?
1 comments

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.