美文网首页
前端搭建本地服务器供局域网使用

前端搭建本地服务器供局域网使用

作者: shawnr | 来源:发表于2017-03-29 20:15 被阅读69次

作为前端开发搭建本地服务尤其重要,下边的方法三步完成服务器的搭建:

$ npm install http-server -g  // 全局安装http-server

$ cd demo2   // 打开要共享的文件

$ http-server // 搭建服务

https://segmentfault.com/q/1010000003926981

相关文章

网友评论

      本文标题:前端搭建本地服务器供局域网使用

      本文链接:https://www.haomeiwen.com/subject/isyyottx.html