[Vuejs]-ERROR Invalid options in vue.config.js: "baseUrl" is not allowed

4👍

This is not a coding issue, the problem is that vue ui still adds baseUrl to the vue config file on save, but it has been deprecated and replaced by publicPath.

So because it is deprecated, vue cli will create an error by its own generated file ^^.

This can easily be fixed by changing vue ui to update vue config file by publicPath instead of baseUrl.

Source

👤Darwin

Leave a comment