Hello, the problem is that I cannot call images with require because it returns the following error:
[worker] require is not defined
The code to call the image that I am using is this:
<img :src="require(image)" />
I am using Nuxt 3 and I have SSR enabled. Calling images with import works but this doesn't work in my case since I need to fetch the image from an object that contains the relative path.
I don't know exactly what is going on and how I can fix it. I appreciate his support.
Well, I managed to solve this problem by adding my images in the public folder, so I can refer to them only by placing: