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

png can not found in assets img #274

Closed
slashism-youth opened this issue Apr 27, 2018 · 2 comments
Closed

png can not found in assets img #274

slashism-youth opened this issue Apr 27, 2018 · 2 comments

Comments

@slashism-youth
Copy link

I use the default theme config, but the img hero.png can not resolve, when i open the link http://localhost:8080/ , the console show an error"hero.png:1 GET http://localhost:8080/hero.png 404 (Not Found)", the location of hero.png is ".\vuepress\docs", the README.md use "heroImage: ./hero.png".

@yyx990803
Copy link
Member

The file needs to be in the .vuepress/public, not .vuepress/docs.

@slashism-youth
Copy link
Author

it's work, thank you so much!

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