摘要: 1 首先下载node.js模块.终端执行命令 2 npm i node -g 3 引入http核心模块 4 const http =require('http') 5 引入文件系统模块 6 const fs =require('fs') 7 引入文件绝对路径模块 8 const path =require('path') 9 创建服务器对象 10 const server =h... 阅读全文
posted @ 2019-01-02 18:51 你的张二狗 阅读(362) 评论(0) 推荐(0) 编辑