queckezz/koa-views

koa-views 5.0.2 Does not support koa1

Closed this issue · 1 comments

error:
AssertionError: app.use() requires a generator function

First sentence in the docs:

Note: This master branch is for koa's upcoming version koa@2. Take a look at the v1.x branch for koa@1.

koa@2 middleware is not compatible with koa@1