Koa basic usage and configuration development hot load / webpack debugging

Koa Foundation introduce Core concept principle characteristic Basic implementation npm init -y npm install --save koa index.js root directory const Koa = require("koa"); const app = new Koa(); app.use(async (ctx) => { ctx.body = "hello,koa"; }); app.listen(3000); kao-Router npm install -S koa-router use ...

Posted by newburcj on Mon, 24 Jan 2022 18:25:53 +0100