javascript - vue src path problem
天蓬老师
天蓬老师 2017-05-19 10:40:30
0
1
613

The tag given directly by the background

<img src="images/ic_search.png">

Error report:

Add ./ and the path is correct

<img src="./images/ic_search.png">

How to configure vue to make the following path correct

<img src="images/ic_search.png">
天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
为情所困

If you don’t add ./, it will be an absolute path. The absolute path is relative to the root node, which is /. If you add it, it will be a relative path, relative to the current file.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template