Skip to content
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 not working on laravel 5.8 #1

Closed
aaron-za-dev opened this issue Sep 9, 2019 · 5 comments
Closed

Toastr not working on laravel 5.8 #1

aaron-za-dev opened this issue Sep 9, 2019 · 5 comments

Comments

@aaron-za-dev
Copy link

The included js and css files available in the repository, but when testing from a blade view does not work.

Since the components-notifications.html file works fine, I tried to rebuild the files with npm run build and I get the same error.

tstr

msg

demo

@shw2ypro
Copy link

I have the same issue here

@sublimedatasys
Copy link

@aaron-za-dev @shw2ypro

Hello,
Can you please verify path in file included properly or not because as per Toastr main page they are supporting laravel 5.5
Also please check if file is imported in your blade html template correctly?

@sar0z
Copy link

sar0z commented Mar 23, 2020

Did anyone solve the issue?

@Dreller
Copy link

Dreller commented Aug 20, 2020

Just hit that too, anyone found a workaround?

@Mehonder
Copy link

Mehonder commented Nov 28, 2020

1- Find this row at main.js
void 0 === ( a = function (t) {
return function () {
var e,
i,
n,
a = 0,
r = {
error: "error",
info: "info",
success: "success",
warning: "warning"
},
2- Add variable before a
void 0 === ( window.$TUM_TOASTR = a = function (t) {
return function () {
var e,
i,
n,
a = 0,
r = {
error: "error",
info: "info",
success: "success",
warning: "warning"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants