Closed kaboume closed 1 year ago
Hey there, can you try with prismicH.asImageSrc(slice.primary.imagefond, { auto: undefined })
instead? You should not need to access .url
directly
Also, can you double-check that you're running @prismicio/helpers@2
?
Closing as stale, feel free to reopen if you want to keep investigating your question ☺️
Hi, I wan't to disable the compression of the Prismic Images in my Vue Component. So I found in the Prismic documentation that :
So I did :
And I have this error :
TypeError Cannot read properties of undefined (reading 'asImageSrc')
I'm using Nuxt2 for information.