0๐
โ
I will answer my own question.
Credit for the answer goes to this article
https://medium.com/js-dojo/how-to-solve-vue-js-prod-build-assets-relative-path-problem-71f91138dd79
Solution is to add the following line to vue.config.js;
module.exports = {publicPath: ''};
I do not know why this solution works. If someone knows, please drop some comments. Thank you.
Source:stackexchange.com