Alpine Usage Issue #4202
Replies: 1 comment
-
You should probably use a bundler. Or use the listeners and put them first. All with defer. This is just JavaScript though. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
this works:
this work doesn't work:
due to last line in alpinejs
my question would be: After someone
start()
alpine once, and runsstart()
later again to get some new elements to work, the prev. once gets their double set of event listeners.How can i reinit without having double event listeners on existing components?
for example I would like to include alpine js inside the head. then have scripts after it + inside body. eg:
Beta Was this translation helpful? Give feedback.
All reactions