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
Copy file name to clipboardExpand all lines: aio/content/guide/universal.md
+15-23Lines changed: 15 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ Finally, the server returns the rendered page to the client.
111
111
Before your app can be rendered on a server, you must make changes in the app itself, and also set up the server.
112
112
113
113
1. Install dependencies.
114
-
1. Prepare your app by modifying both the app code and its configuration.
114
+
1. Prepare your app by modifying both the app code and its configuration.
115
115
1. Add a build target, and build a Universal bundle using the CLI with the `@nguniversal/express-engine` schematic.
116
116
1. Set up a server to run Universal bundles.
117
117
1. Pack and run the app on the server.
@@ -142,11 +142,11 @@ If your server handles HTTP requests, you'll have to add your own security plumb
142
142
143
143
## Step 1: Install dependencies
144
144
145
-
Install `@angular/platform-server` into your project. Use the same version as the other `@angular` packages in your project. You also need `ts-loader` for your webpack build and `@nguniversal/module-map-ngfactory-loader` to handle lazy-loading in the context of a server-render.
145
+
Install `@angular/platform-server` into your project. Use the same version as the other `@angular` packages in your project. You also need `ts-loader`, `webpack-cli` for your webpack build and `@nguniversal/module-map-ngfactory-loader` to handle lazy-loading in the context of a server-render.
0 commit comments