-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Not working with Laravel Livewire :( #142
Comments
Please share the installation steps.. |
Installation done according to documentation. Package is working in pure Laravel, but not in Livewire components. |
Hey @rosolovsky , I have tested the package with Livewire it's working as excepted as you can see the image below. Please share the error here maybe I will help you. |
Its not working for me either @realrashid
The Alerts work fine in any normal controller but seemingly not in a livewire component or class |
It turnes out that you need to have a redirect for it to work. I had to return a redirect to another page to make them work. If I tried to redirect using the |
@include('sweetalert::alert') |
i have same issue, and i trying to add but new problem is when i click again on the button to trigger the alert, it doesn't show anymore unless i refresh the page. |
Not working with Laravel Livewire :(
The text was updated successfully, but these errors were encountered: