Skip to content

Commit 6ecc60b

Browse files
MarkPieszakhansl
authored andcommitted
fix(universal): add ts-loader install
1 parent c438876 commit 6ecc60b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/documentation/stories/universal-rendering.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ This story will show you how to set up Universal bundling for an existing `@angu
2020

2121
Install `@angular/platform-server` into your project. Make sure you use the same version as the other `@angular` packages in your project.
2222

23-
> You'll also need @nguniversal/module-map-ngfactory-loader, as it's used to handle lazy-loading in the context of a server-render. (by loading the chunks right away)
23+
> You'll also need ts-loader (for your webpack build we'll show later) and @nguniversal/module-map-ngfactory-loader, as it's used to handle lazy-loading in the context of a server-render. (by loading the chunks right away)
2424
2525
```bash
26-
$ npm install --save @angular/platform-server @nguniversal/module-map-ngfactory-loader
26+
$ npm install --save @angular/platform-server @nguniversal/module-map-ngfactory-loader ts-loader
2727
```
2828

2929
## Step 1: Prepare your App for Universal rendering

0 commit comments

Comments
 (0)