Vue picture display 403 error [How to Solve]

When doing the project, I encountered some picture display problems

1. The assets file under SRC of the local image cannot be loaded

Solution: use require

2. Network picture, visit 403

Solution: add the tag
< meta   name="referrer"   content="no-referrer"  />
in the index.html file

 

Read More: