Skip to content

Commit 40828aa

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/documentation/stories/universal-rendering.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ Now lets create a few handy scripts to help us do all of this in the future.
372372
"scripts": {
373373

374374
// These will be your common scripts
375-
"build:dynamic": "npm run build:client-and-server-bundles && npm run webpack:server",
376-
"serve:dynamic": "node dist/server.js",
375+
"build:ssr": "npm run build:client-and-server-bundles && npm run webpack:server",
376+
"serve:ssr": "node dist/server.js",
377377

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

386386
```bash
387-
npm run build:dynamic && npm run serve:dynamic
387+
npm run build:ssr && npm run serve:ssr
388388
```
389389

390390
Enjoy!

0 commit comments

Comments
 (0)