Koa.js
-
Is there a specific reason for using Express.js and not Koa.js? And what does it take to swap express.js with koa.js using quasar?
-
@MusicForMellons just following vue & webpack communities with the expressjs. However if you want to use koa you can change that yourself by editing build/script.dev.js
Is there any reason to switch to koa?
-
@rstoenescu Ok. Maybe I 'll try. The whole generator, less magical, and more lightweight of Koa seems interesting to me.
-
@MusicForMellons If you have time to give it a shot and koa will look better maybe we can integrate your work if you like
-
This is an interesting article.
https://medium.com/@l1ambda/why-you-should-use-koa-with-node-js-7c231a8174fa#.lpo5o6v0q
Scott
-
@rstoenescu if the webserver to use with ssr is a module that can be set like a plugin client side plugin would be very nice. I used a vue-auth and it uses a Interface to handle ajax that must be implemented with different client ajax requests like axios. Using the same strategy we can make a server-side plugin for webserver that can use any webserver module available. https://github.com/websanova/vue-auth/blob/master/docs/StepByStepGuide.md#user-content-install-the-plugin