I need to implement a prefix for my routes and assets, so according to the vue-cli documentation, I have set the publicPath in my vue.config.js
file:
module.exports = {
publicPath: '/foo/'
}
However, when I try to build the project for production, I encounter this error:
Uncaught SyntaxError: Unexpected token '<'
What could be causing this issue and how can I resolve it?