is it necessary for RT: to do this?
if you don"t think this is necessary, how can koa-router
standardize the interface path and html
path?
is it necessary for RT: to do this?
if you don"t think this is necessary, how can koa-router
standardize the interface path and html
path?
Yes, it's fine. The duties are separated, and the interface only cares about the interface. Whether it's server rendering or not, the interface should always be requested
, so there's nothing wrong with it. The architecture is also based on requirements.