Skip to content
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

nuxt3 with cloudflare images not showing up in production. #611

Open
ricky11 opened this issue Sep 10, 2022 · 1 comment
Open

nuxt3 with cloudflare images not showing up in production. #611

ricky11 opened this issue Sep 10, 2022 · 1 comment

Comments

@ricky11
Copy link

ricky11 commented Sep 10, 2022

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.

@jimhlad
Copy link
Contributor

jimhlad commented Sep 11, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants