javascript - The image path packaged by webpack reports a 404 error
扔个三星炸死你
扔个三星炸死你 2017-06-12 09:27:54
0
2
624

1. For the vue2 project, the files packaged by webpack can be displayed when I browse the images locally, but they cannot be displayed on the server. The image path addresses are exactly the same.
As shown in the picture:
Picture 1 is local, Picture 2 is on the server

扔个三星炸死你
扔个三星炸死你

reply all(2)
刘奇

Post the code there in <img>

左手右手慢动作

1. Confirm whether the file is included in the build output
2. Confirm whether the modified file has been copied to the server
3. Finally, if there is no problem, confirm whether the directory is readable.

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