-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"@nuxt/image-edge": "^1.0.0-27840416.dc1ed65". still doesn't support static images #690
Comments
Same here. Refer to #689 |
I'am still waiting for fix xD |
running into the same issue |
Same issue for me! |
Hi. You should put images to Please let me know if still having issues after moving to public. |
i do this but not work with me export default defineNuxtConfig({ |
the images shown in mode run nuxt dev but when run nuxt generate the images not shown |
and in package.json file |
i find that using. as Nuxt3 prefers you actually use the assets folder to host your images.
export default defineNuxtConfig({ image: { dir: "assets/images", }, })
then using
<NuxtImg class="desktop" src="/website/home/above-fold-illustration.png" alt="illustration" aria-hidden="true" />
doesn't work when deploying static site. it works on running it on the dev server, but breaks on the statically built version
"@nuxt/image-edge": "^1.0.0-27840416.dc1ed65",
The text was updated successfully, but these errors were encountered: