Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Universal Server Side Rendering stops Rendering Content after Installing PWA in Angular 6.0.3

I've built a simple Angular 6 application and integrated Universal into it by following this tutorial: Angular Universal Tutorial

Link to GitHub repo that I created: Angular Universal SSR GitHub Repo

Universal SSR is working great, it renders content (both static and dynamic from Firebase Real Time Database and Firestore) without any issues, however, after I install PWA following the official documentations from PWA tutorial, Universal SSR stops working without any errors... but PWA works.

Can anyone tell me why SSR stops working after installing PWA?

Thanks in advance!

like image 573
Csaba Avatar asked Jun 03 '18 20:06

Csaba


1 Answers

I found something that worked for my website but I'm using a new version of angular and universal

    "@angular/core": "~8.2.4",
    "@angular/pwa": "^0.803.19",
    "@angular/service-worker": "~8.2.4",
    "@ng-toolkit/universal": "^7.1.2"

How to make Angular Universal and PWA work together?

like image 104
Cardano Goat Avatar answered Sep 19 '22 15:09

Cardano Goat