Home > Net >  Why wont my <img file load from my vue assets?
Why wont my <img file load from my vue assets?

Time:11-28

I can get web images to load if I use an external web link (https:), but I just get an empty container when my src is local:

<div class="pictures">
     <img scr="../assets/images/pic.jpeg">
</div>

CodePudding user response:

<div class="pictures">
     <img src="@/assets/images/pic.jpeg">
</div>
  • Related