You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
What is the current behavior?
Copy and paste code to setup a working node server serving SSR app.
What is the expected behavior? ng add @nguniversal/express-engine should
Add the npm dependencies
Create server.ts entry point for the the express engine based Node server
Create webpack config to build server.ts
(Optionally) Add entries into scripts of package.json with commands to build and run the SSR version of the app
(Optionally) Provide ng g transfer-http to setup the HTTP cache transfer module
What is the motivation / use case for changing the behavior?
Make it easier to get started with Angular SSR
(Though we should probably display a warning that this is just a simplified setup and they would want to do something more tuned for production themselves)
What is the current behavior?
Copy and paste code to setup a working node server serving SSR app.
What is the expected behavior?
ng add @nguniversal/express-engineshouldscriptsofpackage.jsonwith commands to build and run the SSR version of the appng g transfer-httpto setup the HTTP cache transfer moduleMake it easier to get started with Angular SSR
(Though we should probably display a warning that this is just a simplified setup and they would want to do something more tuned for production themselves)