NuxtN
Nuxt8mo ago
48 replies
WiFi Plug

nuxt ui carousel + nuxtimg preload images

Hi, I'm using nuxt ui carousel (embla carousel) to display nuxtimg images. however I filter my list of items i put into the carousel based on the variant selected of my product. so when i change product the items list will contain some new items and it seems that those new images are then downloaded. is it possible for me to somehow preload all images for my variants even if not in the items array yet?
Was this page helpful?