-
Notifications
You must be signed in to change notification settings - Fork 51
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
Permanent Alpine.js element throws error: Uncaught (in promise) TypeError: i is not a function #108
Comments
@alexmandrikdev Hey, thanks for reporting. Do you have this snippet in the Alpine.js setup? I'm gonna try to reproduce it here. |
Yes, It was added by the |
@alexmandrikdev can you move the alpine setup to the |
I've already tried this, but it hasn't solved the problem. This might be helpful. Every time I navigate to a different page, the event listener is added to the button repeatedly. By the way, why does the |
I've published the app on GitHub: https://github.com/alexmandrikdev/laravel-turbo-integration-test. |
I think that's actually a bug in the installer command. I'm gonna take a look at it. |
Hey, I'm gonna close this. Not sure if it's still an issue for you. I have another issue to test with Livewire 3 here. |
Hey guys!
When I make the navigation bar permanent that contains Alpine.js, the app throws this error when I visit a page via Turbo Drive.
I'm getting this error from a fresh Laravel Breeze + Turbo Laravel installation (I've followed the installation guide).
The alpine-turbo-drive-adapter solves this problem, but it causes issues with the Livewire @entangle directive.
Do you have any ideas on how to fix this problem?
The text was updated successfully, but these errors were encountered: