HBuilderX安装目录\plugins\uniapp-cli\node_modules\@vue\cli-service\lib\options.js
devServer: {
/
open: process.platform === 'darwin',
host: '0.0.0.0',
port: 8080,
https: false,
hotOnly: false,
proxy: null, // string | Object
before: app => {}
/
}
加一句 disableHostCheck: true,
devServer: {
disableHostCheck: true,
/
open: process.platform === 'darwin',
host: '0.0.0.0',
port: 8080,
https: false,
hotOnly: false,
proxy: null, // string | Object
before: app => {}
/
}
2 个回复
c***@126.com
[WDS] Disconnected
什么情况下出现这
解析时间
HBuilderX安装目录\plugins\uniapp-cli\node_modules\@vue\cli-service\lib\options.js
devServer: {
/
open: process.platform === 'darwin',
host: '0.0.0.0',
port: 8080,
https: false,
hotOnly: false,
proxy: null, // string | Object
before: app => {}
/
}
加一句 disableHostCheck: true,
devServer: {
disableHostCheck: true,
/
open: process.platform === 'darwin',
host: '0.0.0.0',
port: 8080,
https: false,
hotOnly: false,
proxy: null, // string | Object
before: app => {}
/
}