You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Via google I landed on the manual page for 'response-targets', which did exactly what I want.
For a while I couldn't get it to work, because I'd never used an extension before, and didn't carefully every bit, so I didn't understand how important hx-ext was.
How about, under "install" in each extension, after the "Install" line, adding a line that says something like:
All extensions must be [enabled](@/extensions/_index.md) using [hx-ext](@/attributes/hx-ext.md) before that can be used.
Just to point people towards this important thing they must read (I'm linking to both extensions, and ht-ext, as those are I think the two most useful pages?)
I'm happy to make a PR, just wanted to check what people thought before I bothered going through all the extension pages.
The text was updated successfully, but these errors were encountered:
It would be great if response-targets was part of the main htmx library. It's the only way to error handle HTTP requests, which I think should be done with every request.
But anyway, I forgot I need that hx-ext tag attribute as well.
@ChrisJefferson and @glossd, I have created a PR significantly elaborating the instructions of setting up HTMX extensions. Based on your inputs, I have made the importance of enabling the extensions with the hx-ext tag more visible and repeated it multiple times.
Via google I landed on the manual page for 'response-targets', which did exactly what I want.
For a while I couldn't get it to work, because I'd never used an extension before, and didn't carefully every bit, so I didn't understand how important
hx-ext
was.How about, under "install" in each extension, after the "Install" line, adding a line that says something like:
All extensions must be [enabled](@/extensions/_index.md) using [hx-ext](@/attributes/hx-ext.md) before that can be used.
Just to point people towards this important thing they must read (I'm linking to both extensions, and ht-ext, as those are I think the two most useful pages?)
I'm happy to make a PR, just wanted to check what people thought before I bothered going through all the extension pages.
The text was updated successfully, but these errors were encountered: