The role of koa2 in anterior and posterior separation

generate a project with vue-cli, you can realize the front-end requirements, including node server, webpack, etc., and then add axios. What kind of project should koa2 be used in? the current technology stack is vue,. Is there any recommended technology for backend if you want to do a Mini Program?

May.26,2021

koa2 has nothing to do with vue . One front end and one back end should be decoupled, that is, your front end (vue) just send the request, and the back end (koa2 , express , php , java..) accepts the request and performs corresponding operations to return the data in the established format. When the foreground and background are separated, it can be used as the foreground server alone


koa is the backend framework and vue does not have much relationship. Mini Program's backend can be developed with koa

Menu