current position:Home>Writing method of SRC path in Vue

Writing method of SRC path in Vue

2022-01-26 21:38:46 Foreigners virtue

1.src The first way to write a path

 Insert picture description here
~/ This symbol directly represents the root directory of the project .

2.src The second way to write a path

 <div class="tag">
          <span class="tag-cafe other"><img src="../../assets/img/widget-fa-other.png" alt=""/>  other </span>
 </div>

copyright notice
author[Foreigners virtue],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201262138444658.html

Random recommended