This looks great. I am either misunderstanding (highly likely), or I've made a mistake (even more likely). After implementation of the above, I no longer see images whilst on Dev. This will be because I have changed all my src attributes to data-src. Is this the expected behaviour?
Hello! At first, are there any console errors or warnings? Did you implement webpack settings, so when you look into source code, you see correct path to images?
Hi,
This looks great. I am either misunderstanding (highly likely), or I've made a mistake (even more likely). After implementation of the above, I no longer see images whilst on Dev. This will be because I have changed all my
src
attributes todata-src
. Is this the expected behaviour?Hello! At first, are there any console errors or warnings? Did you implement webpack settings, so when you look into source code, you see correct path to images?
I have the same error.
I have no images anymore...
Image Code:
<img data-src="~/assets/chat-icon.svg" alt="" class="chat-icon mr-2 lazyload">
Error in Browser Console:
GET localhost:3000/~/assets/chat-icon.svg 404 (Not Found)
getting a blank 1x1 image aswell