node.js搭建一个本身的本地web服务器

在搭建web服务器以前,须要先安装node.js(安装版本最好为6.9.x)javascript 安装后node.js,接下来就须要安装http的镜像文件html npm install http-server -g(windows下) sudo npm install http-server -g(linux和mac下) 接下来在桌面建立一个文件夹java cd 文件夹名字 http-serve
相关文章
相关标签/搜索