vue服务器linux配置域名访问

build/webpack.dev.config.js

45 },
46 disableHostCheck:true

config/index.js

24 host: ‘0.0.0.0’, // can be overwritten by process.env.HOST

你可能感兴趣的:(vue.js,javascript,前端)