3-1 koa 核心对象
初试koa
const Koa = require('koa')
const app = new Koa()
app.use(async (ctx,next)=>{
ctx.body = 'hellow word'
})
app.listen(8888)
const Koa = require('koa')
const app = new Koa()
app.use(async (ctx,next)=>{
ctx.body = 'hellow word'
})
app.listen(8888)
本文标题:第3章 层层学习 Koa 框架的 API
本文链接:https://www.haomeiwen.com/subject/cbotqqtx.html
网友评论