image icon indicating copy to clipboard operation
image copied to clipboard

nuxt3 with cloudflare images not showing up in production.

Open ricky11 opened this issue 3 years ago • 1 comments

The docs say i can keep them in assets/image and change the config in nuxt.config by

image: { dir: 'assets/images', }

this works locally in dev mode.

But when deploying to cloudflare pages, the images are not displayed (cloudflare runs npm generate) for static hosting.

But another part of the docs say to deploy them to /public folder..

I have tried both and when deployed images are not showing up when deployed.

ricky11 avatar Sep 10 '22 03:09 ricky11

@ricky11 This may be happening because static image generation is not supported yet: #548

jimhlad avatar Sep 11 '22 15:09 jimhlad