首先安裝 koa-router : npm install --save koa-router. 接著在 server.js 裡引用koa-router: const router = require('koa-router');.
確定! 回上一頁