1.配置node_modules/webpack-dev-server/lib/Server.js 将425行return false; 改为return true;

2.配置package.json为 “start”: “ng serve –host 0.0.0.0”.

 

posted on 2018-06-15 15:22  happiness木木  阅读(255)  评论(0编辑  收藏  举报