在vue.config.js中,修改配置:disableHostCheck: true,
module.exports = {
devServer: {
open: true,
host:"batman.com",
port: 27202,
https: false,
disableHostCheck: true,
...
},
...
}
在vue.config.js中,修改配置:disableHostCheck: true,
module.exports = {
devServer: {
open: true,
host:"batman.com",
port: 27202,
https: false,
disableHostCheck: true,
...
},
...
}