In this video I explain how I managed to add lazy loading images in Vue.js while getting image data from the headless CMS Prismic.
In this case it’s not just a matter of creating a Vue component as I also get images rendered in HTML from the Prismic Rich text field.
This is a lazy loading solution for images that works both in vanilla JS and Vue.
See it in action here: [ Ссылка ]
Find the code here: [ Ссылка ]
Follow me here:
Website: [ Ссылка ]
Twitter: [ Ссылка ]
Github: [ Ссылка ]
#vuejs #prismic #lazyloading
Ещё видео!