In the vue project, some pictures are relatively large, as a result, the path of these pictures is wrong after packaging, but it is good under dev, how to solve it?

I found a solution, which is to change the value of limit in webpack.base.conf.js from 10000 to 1000000, but it doesn"t feel like an appropriate method. What should I do?


Project pictures can be placed on cdn. Citing url, can reduce the project volume


you are changing the webpack configuration. Copy the webpack configuration here in a new project.


is the problem of the webpack configuration, not the vue, but the publicPath of the configuration, which leads to the failure of loading your image

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3e19a-43f17.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3e19a-43f17.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?