yoeunes / toastr

:eyes: toastr.js notifications for Laravel
https://php-flasher.io
MIT License
375 stars 52 forks source link

Toastr for Laravel 10 #50

Open redleon00 opened 1 month ago

redleon00 commented 1 month ago

I'm upgrading my application from Laravel 9 to Laravel 10. My application uses the yoeunes/toastr library for notifications. The entire upgrade has gone smoothly, except for an issue in my app.blade.php file where I have the directives @toastr_css, @toastr_render, and @toastr_js. These directives are being printed in my views, and when I execute a submit action, I get the error ReferenceError: toastr is not defined. How can I resolve this issue? Captura desde 2024-06-17 13-25-29