通过npm安装live-server轻松实现本地服务器

一、安装

npm i -g live-server

二、使用

安装完成后,切换到想要打开网页的目录,cmd输入运行

 live-server --port=8080

参考:https://www.jianshu.com/p/a162131e22d0

Last modification:June 4th, 2020 at 08:59 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment