修改webpack.config.js,添加host,disableHostCheck选项

  devServer: {
    historyApiFallback: true,
    host: '0.0.0.0',
    disableHostCheck: true,
    noInfo: true
  },

 

posted on 2017-05-26 10:36  jzfan  阅读(4857)  评论(0编辑  收藏  举报