问题描述:
只能用 http://localhost:8080 访问项目, 不能用 http:// 本机 IP:8080 访问
解决方案:
webpack dev 配置文件中加上
host:'0.0.0.0'
来源: http://www.jb51.net/article/136774.htm