Molunerfinn / vue-koa-demo

:beginner:A simple full stack demo(CSR & SSR & Docker Support) written by Vue2 & Koa2(Koa1 verson also completed)
MIT License
756 stars 166 forks source link

why do you use 'koa-json' in koa 2 version ? #13

Closed dxcqcv closed 7 years ago

dxcqcv commented 7 years ago

I find koa-json does not support koa 2 version, see link

and I find 'koa-bodyparser' also can support json , A body parser for koa, base on co-body. support json, form and text type body.

so why do you still use it in koa 2 version not only use koa-bodyparser ? thanks

Molunerfinn commented 7 years ago

Oh, may be it's a history problem since I just learned Koa before. Removing it is just OK~ THX 👍

dxcqcv commented 7 years ago

got it, thank you