
I got an “Invalid Host Header” error when running a VueJs app on a linux machine with
npm run serve
To work around this you can put the following code into you vue.config.js file:
module.exports = {
// options...
devServer: {
disableHostCheck: true,
}
}

