-
Hi guys,
I'm trying to tweak this example to work with Koa2
https://github.com/kristianmandrup/vue-hackernews-2.0
However I get a strange error:
According to the call stack, `koa-compose` ends up …
-
For example, Exercise 1 still tells you to use `app = koa()` instead of the class-based notation (`app = new Koa()`).
And once you change this, koa tells you that generators are now deprecated and wi…
-
`notFound` option does not respect router prefix.
It is called for **any** non-matched path, regardless of the prefix, meaning it can't be used if there are several routers under different prefixes…
-
I'm running a universal example(koa2 + react) with consolidate as template resolver. Currently I'm facing a trouble when trying to webpack-build node.js server side code when I'm using `target: 'node'…
-
One of the things I miss from Express / Koa is the middleware approach and big ecosystem of pre-built middleware. I've been thinking about how to replace Helmet, loggers, etc. in Redwood.
Middy lo…
-
Hey,
Thanks for this awesome package! I find myself enabling Koa middleware based on a request condition a lot and `koa-if` would make it a breeze. But the lack of support for `koa@1` makes it impos…
-
I start the project.
`
`
main.js
`console.log('test_hq');`
And run command hq
And I get the error
`(intermediate value)(intermediate value)(intermediate value) is no…
-
Here's what Koa says:
koa deprecated Support for generators will be removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/blob/master/docs/…
-
This part is not documented on @feathersjs/hooks: https://github.com/koajs/koa/blob/master/docs/guide.md#combining-multiple-middleware-with-koa-compose
```js
const { hooks, compose } = require('@f…
-
migrated from https://github.com/koajs/koa/issues/210
> I am trying to create a MVC framework based on koa. I need to know whether mounting several koa as middleware will affect negatively. I am curr…