[Vuejs]-Electron build access to static images vue js

1👍

What I did to fix the problem when I experienced it was to go into the files after the build and convert the paths to relative by adding dots(.), that is:

/static/css/randomstring.css
/static/js/randomstring.js

to

./static/css/randomstring.css
./static/js/randomstring.js

this solved the problem without having to change any configs or get new libraries installed.

Leave a comment