Open
Description
Version
5.0.0-rc.0
Reproduction link
Environment info
Windows 11
Steps to reproduce
Start a new vue-cli5.0 on windows
What is expected?
Open one the correct url :
- Local: http://localhost:9000/
- Network: http://192.168.1.26:9000/
What is actually happening?
Open
http://0.0.0.0:9000
everything was working fine on vue-cli4.
My devserver on my webpack config 5 for no vuejs experiments looks like this :
devServer: {
open: true,
compress: true,
https: true,
hot: true,
allowedHosts: 'all',
historyApiFallback: true,
port: 9000,
host: 'local-ip',
static: {
directory: path.resolve(__dirname, './app'),
staticOptions: {},
watch: true,
},
},
important parameter I change when i switch from v4 to v5 :
host: 'local-ip',