-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Toastr for Laravel 10 #50
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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](https://private-user-images.githubusercontent.com/36481173/340394844-c2d671b0-c14d-4069-8216-b4d680210143.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2NTI5NzcsIm5iZiI6MTcyMTY1MjY3NywicGF0aCI6Ii8zNjQ4MTE3My8zNDAzOTQ4NDQtYzJkNjcxYjAtYzE0ZC00MDY5LTgyMTYtYjRkNjgwMjEwMTQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIyVDEyNTExN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQzYzA5ZTFlNTNiMGZkMDk4N2RmZTFiOGRmODc1NjZmYmI3OTA3MjZmMzFiN2FiNGZhOTVjMzM5NWNiNzU4YjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.hT_yIF_hsmM9jyLzmL3U1YgSMhK9HeiQ9DVNz80nafQ)
The text was updated successfully, but these errors were encountered: