N
Nuxt6mo ago
owljackob

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
Remi
Remi6mo ago
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
owljackob
owljackobOP6mo ago
Does it work also for the production? I didn't have such an issue in dev but it's broken once deployed.
Remi
Remi6mo ago
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.
Want results from more Discord servers?
Add your server