The routing problem of the intermediate agent layer built with webpack + koa2 + react?

after using the intermediate proxy layer built with webpack + koa2 + react, the front-end react-router simply cannot be used, because as soon as the browser is refreshed, the routing of koa2 will be triggered. How the routing problem is handled in such an environment.

Mar.20,2021
Menu