Vue on the package, not to visit the page and access not see the picture.

vue completion of the project on the packaging line, when many people will run into static resources can not be found, there are two common
first: js, css wrong path
solution: Open the config / index.js, the value to which the assetsPublicPath ' ./ '

728807-20171103084213482-2047052450

The second: css image resources referenced can not find
my project there is a css file, which references a background image
QQ screenshot 20180918181719
"src / assets /" have this picture folder, the path changes occur after this image on packaging can not find the solution:
open the "build / utils.js", add a line of code

728807-20171103084232060-1230292300

Guess you like

Origin www.cnblogs.com/blueball/p/11328259.html