I had the same issue and found a convenient way to globally configure this and packaged it into a htmx extension, you can find it here: https://github.com/fchtngr/htmx-ext-alpine-interop