1、安装npm install -g live-server或者cnpm install live-server -gf 2、再运行live-server就可以在http://127.0.0.1:8080访问 相关文章: