-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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 firing @error event on img element #5493
Comments
You are not getting error event probably because returned content is an actual image (even though response is 404):
And it's probably related to feature mentioned in #5483 (serve-placeholder) |
|
Right! It worked after generating static html. I'm not using server on production, so need to set that flag on dev mode. Thanks all. |
// nuxt.config.js
{
//...
render: {
fallback: false
}
//...
} it works for me. |
None of these suggestions have worked for me. Is there anything else I can do? |
Version
v2.5.1
Reproduction link
https://codesandbox.io/s/vy6863v787
Steps to reproduce
What is expected ?
The method should run
What is actually happening?
Not running
Additional comments?
It's working fine when using Vue directly.
The text was updated successfully, but these errors were encountered: