2

I try to learn Vuepress and I need to know how to add image to document.

I tried code from documentation on vuepress ![An image](images/image.png) and can't see nothing

Tree

Code I tried to use in frontend.md and is really simple

# Title

![An image](images/image.jpg)

Here is result of that code

result

1 Answer 1

4

It's recommended that you reference any asset using relative URLs. You can move your images into the content folder:

content
  frontend.md
  assets
    images
      image.jpg

Then reference using relative URL in frontend.md:

![An image](./assets/images/image.jpg)
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.