1

I'm confused about the Angular Universal setup. When i run localhost:4000 on Google Chrome, theres no data inside the <app-root> but when on Mozilla there a data on it. I saw from docs and tutorials that you know you successfully installed Angular Universal Server Side Rendering on it when there some data inside the <app-root>. There's also a service workers installed BTW. Is there any problem with Angular Universal Setup since there's no error when i run it? Pls see the images below

RUN COMMAND

Run Command

GOOGLE CHROME

GOOGLE CHROME

MOZILLA FIREFOX

Mozilla Firefox

Joseph
  • 7,042
  • 23
  • 83
  • 181
  • What if you uninstall the service worker in chrome, then open `view-source:http://localhost:4000` in another tab straight away? – David Oct 06 '19 at 07:12
  • @David. Oh. Maybe service worker and server side rendering doesn't work together? – Joseph Oct 06 '19 at 08:26
  • Does that help? It looks like your problem https://stackoverflow.com/questions/56383569/how-to-make-angular-universal-and-pwa-work-together – David Oct 07 '19 at 05:43

0 Answers0