首页 > 技术文章 > node快速建立web服务命令

sangzs 2019-05-13 11:05 原文

首选,安装http-server模块

npm install http-server -g

在需要打开的静态页面的目录下,开启服务即可

http-server

 

推荐阅读