Vue plug-in development, how to package pictures?

vue plug-in development, img refers to the image input path in the static folder is
, and then I add the static folder to the files in package.json, and then package
but when installing this plug-in in another project, the picture shows no, how do I configure it?

Aug.30,2021

adding static to file will package static into the package, but the path may not work if it starts with / static. You can put the image under the relative path you introduced, so that the image will be packaged as a module and change the src to the relative path.


how did the brothers finally solve the problem

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-1eaf776-2259.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-1eaf776-2259.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?