Closed DaveSkender closed 3 months ago
One thing that's worth noting, adding this server does not preclude build and deploy as a regular SPA as before; the Website.zip
package is produced the same as before. There's a separate Server.zip
for deploying the SSR app that would launch with a slightly different command. We'd use one or the other, not both?
for consideration only
This adds Angular Universal server-side rendering (SSR). Further troubleshooting and fixes to do:
ReferenceError
error forHeroOverlayModule
NgOptimizedImage
on Site Card component and Card Catalog page--production
flag for the server portionmore info
The issue on the Hero Overlay page when loading doesn't prevent functional use, but produces server-side errors indicating a circular reference; however, it does resolve when removing
modal.on();
inngOnInit
. It's likely due tomodal
script references towindow
anddocument
, but may be a legitimate circular re-referencing of SASS stylesheets.