目录
/**
* hello world
*/
const Koa = require('koa');
const App = new Koa();
console.log(Koa);
App.use(async (ctx)=>{
ctx.body = 'hello world'
});
App.listen('3000',()=>{
console.log('start-quick is starting at port 3000')
});
/**
* hello world
*/
const Koa = require('koa');
const App = new Koa();
console.log(Koa);
App.use(async (ctx)=>{
ctx.body = 'hello world'
});
App.listen('3000',()=>{
console.log('start-quick is starting at port 3000')
});