Nuxt Image and Azure Static Web Apps
Hi there,
I can't get it to work. When I use
NuxtImg
instead of img
it always returns 404 ipx. Is there any way to solve this? The image is in a public directory.3 Replies
I have the same problem, I can't get NuxtImg to work in a dev environment, it works with regular html img element, but if I use NuxtImg I get 404 ipx. Have you found a solution?
I fixed this by installing sharp using npm install sharp --ignore-engines
Does it work also for the production? I didn't have such an issue in dev but it's broken once deployed.
I can't confirm this, sorry, I only used nuxt for dev env, and this was the only thing that fixed Nuxt Image module for me, yours might be a different issue, but still worth taking a look at.