vuejs / vitepress

Vite & Vue powered static site generator.
https://vitepress.dev
MIT License
11.48k stars 1.86k forks source link

Hero section image error #3813

Closed andim27 closed 3 weeks ago

andim27 commented 3 weeks ago

Describe the bug

Hero image don't bind after deployment If place logo.png to /images it does not work. This image does not compile to the assets and on real site can't get image.Please fix

Reproduction

Set hero section Set image: src: logo.png

Expected behavior

Should can place logo(any images) to images directory

System Info

after deploy

Additional context

No response

Validations

brc-dd commented 3 weeks ago

You need to keep it inside public directory.