11:18 下午 · 11月 05 ,2025 Koa基本使用 一、koa基本使用 依賴安裝 npm i koa 編碼 const Koa = require("koa"); const app = new Koa(); app.use(async ctx={ ctx.body = 'hello Koa'; }); app.listen('5505',()={ console.log('Server running at http://l koa2