Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wimdeblauwe opened this issue Apr 19, 2022 · 2 comments

Comments

@wimdeblauwe
Copy link
Contributor

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
Copy link
Contributor Author

The minification issue has a separate issue #1089

@1cg
Copy link
Contributor

1cg commented Feb 3, 2023

@Renerick has fixed this for us!

@1cg 1cg closed this as completed Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants