I've got the problem, whenever I change the path in vue.config.js and vue-router the page doesn't work on the local server in XAMMP. I've changed the publicPath and outputPath.
More details here, I put this link because nobody has responded. In the link below there's also a link to the repository on GitHub:
Thank you for any help. I got badly stacked here.