Closed tschaffter closed 3 weeks ago
Enable server-side rendering (SSR) for the MODEL-AD app. The configuration created by the Angular generator is replaced by the configuration used by OpenChallenges.
server
serve-ssr
model-ad-app
model-ad-util
server.ts
When starting the app with CSR:
nx serve model-ad-app
Open the page in the browser and view the source:
Start the app with SSR:
nx serve-ssr model-ad-app
Description
Enable server-side rendering (SSR) for the MODEL-AD app. The configuration created by the Angular generator is replaced by the configuration used by OpenChallenges.
Changelog
server
andserve-ssr
tomodel-ad-app
model-ad-util
server.ts
References
Preview
Client-Side Rendering
When starting the app with CSR:
Open the page in the browser and view the source:
Server-Side Rendering
Start the app with SSR:
Open the page in the browser and view the source: