Skip to content

Disable console errors when only placeholder is used #34

Answered by chrisspiegl
chrisspiegl asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, Ok, I just tested it again with just a random src="#" and it stopped complaining about the missing data-src-set or data-src.

So, this workaround appears to achieve what I want at this time:

<UnLazyImage
        src="#"
        :thumbhash="_thumbhash"
        :lazy-load="false"
      />

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@chrisspiegl
Comment options

@johannschopplich
Comment options

@chrisspiegl
Comment options

@chrisspiegl
Comment options

Answer selected by chrisspiegl
@johannschopplich
Comment options

@johannschopplich
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants