Images Not Loading Locally in Nuxt.js Project with Vercel Deployment #1377
Unanswered
pedrodruviaro
asked this question in
Q&A
Replies: 1 comment
-
Update: I removed the nitro.static option and added:
Everything seems to be working fine, despite Vercel's documentation explicitly stating the use of nitro.static = true. At the moment, the site only has one page, so this isn't an issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having a strange issue with the module. My website is running on Vercel with the Build Command "nuxt generate". In production, all images are working fine, but locally no image loads.
The nuxt.config file is configured with:
nitro: { static: true, }
If I remove the static option, the images start working again. The images are inside the public folder. In the console, the error displayed is _WARN [Vue Router warn]: No match found for location with path "/ipx/s_258x68/logo-white.svg"
Any insights on why images are failing to load locally despite proper configuration, while they work fine in production?
Beta Was this translation helpful? Give feedback.
All reactions