#How to serve local images within the src folder within vercel

1 messages · Page 1 of 1 (latest)

nocturne river
#

I want to share my local images with vercel and I am using src:"srce/assets/..etc" but get error when deployed to vercel not in local server
Another thing is that i am facing an error when i am using unsplash url hard code in astro!

floral holly
#

can you provide an example how did you import it in the .astro file ? also is it really "srce" directory and not "src" ? do you have .gitignore files ? do you use github with vercel, did you check locally but by cloning a new repo ? sometimes not everything gets into github.

#

also if possible to copy the log of the error you got on vercel deployment.

nocturne river