简单启动web服务器

436 阅读1分钟

安装全局依赖包

npm install http-server -g  或者
yarn global add http-server

启动web服务器

//在项目目录打开终端输入:hs
hs