How to use the get function from koa-router

Find comprehensive JavaScript koa-router.get code examples handpicked from public code repositorys.

173
174
175
176
177
178
179
180
181
182
            this.body = {code: 0, data: arr};
        }
    });

    // proxy api
    router.get('/api/foo/bar', proxy({url: 'http://foo.bar.com'}));
}
```

## webpack资源管理
fork icon120
star icon0
watch icon212

+ 7 other calls in file