摘要: 第一种是使用原生的方式去创建一个本地服务器,开发人员常规操作 //引入nodejs中自带的http模块 const http = require("http"); // 用http创建服务并用变量app接收返回值 const app = http.createServer(); // 为app添加r 阅读全文
posted @ 2020-01-06 20:30 深海里的星星i 阅读(598) 评论(0) 推荐(0)