1.配置文件package.json npm init --yes 2.安装koa npm install --save-dev koa 3.创建app.js //1.引入koa const Koa = require('koa'); //2.创建koa对象 const app = new