Skip to content
Discussion options

You must be logged in to vote

no, that won't work. Alpine.data is a factory to create data component in a script tag so you can use x-data="slideout" instead of writing everything in your html. It's probably easier if you use Alpine.store.

Is your library reloading the whole page? Because otherwise you won't get an alpine:init event either and usually HTMX doesn't reload the page. Does your library have any hooks you can use?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@shifuma
Comment options

@shifuma
Comment options

Answer selected by shifuma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants