htmx icon indicating copy to clipboard operation
htmx copied to clipboard

Document that you need to add an extra JavaScript file when using extensions

Open wimdeblauwe opened this issue 2 years ago • 1 comments

It was not clear to me from the docs at https://htmx.org/docs/#extensions that you need an extra JS included when you want to use an extension (like SSE support). Also the https://htmx.org/extensions/server-sent-events/ page makes no mention of this.

I also noticed that htmx itself has a minified version (htmx.min.js), but the extensions do not have this (only ext/sse.js for example).

wimdeblauwe avatar Apr 19 '22 20:04 wimdeblauwe

The minification issue has a separate issue https://github.com/bigskysoftware/htmx/issues/1089

wimdeblauwe avatar Oct 20 '22 15:10 wimdeblauwe

@Renerick has fixed this for us!

1cg avatar Feb 03 '23 00:02 1cg