Skip to content

Commit 50a171a

Browse files
vikermanhansl
authored andcommitted
docs(universal): update the npm run targets to match the ones in universal-starter
1 parent c143ced commit 50a171a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/documentation/stories/universal-rendering.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ Now lets create a few handy scripts to help us do all of this in the future.
366366
"scripts": {
367367

368368
// These will be your common scripts
369-
"build:dynamic": "npm run build:client-and-server-bundles && npm run webpack:server",
370-
"serve:dynamic": "node dist/server.js",
369+
"build:ssr": "npm run build:client-and-server-bundles && npm run webpack:server",
370+
"serve:ssr": "node dist/server.js",
371371

372372
// Helpers for the above scripts
373373
"build:client-and-server-bundles": "ng build --prod && ng build --prod --app 1 --output-hashing=false",
@@ -378,7 +378,7 @@ Now lets create a few handy scripts to help us do all of this in the future.
378378
In the future when you want to see a Production build of your app with Universal (locally), you can simply run:
379379

380380
```bash
381-
npm run build:dynamic && npm run serve:dynamic
381+
npm run build:ssr && npm run serve:ssr
382382
```
383383

384384
Enjoy!

0 commit comments

Comments
 (0)