(Angular 6) Angular Universal - Not waiting on content API call

前端 未结 3 790
甜味超标
甜味超标 2020-12-17 16:21

Cannot get SSR to work when using Angular Universal with pages that use dynamic content. All other pages work and the dynamic pages return with HTML but do not include the d

3条回答
  •  清酒与你
    2020-12-17 17:03

    It seems that angular universal doesn't wait for async calls to render.

    I had the same problem and finally made it work using ZoneMacroTaskWrapper as mentioned in this issue.

    This is the service I made.

提交回复
热议问题