From 32a6972cdc55fe692f4fa03731eec732979f50c9 Mon Sep 17 00:00:00 2001 From: Alan Date: Wed, 4 Sep 2019 15:52:57 +0200 Subject: [PATCH] docs: add app-shell production reference (#32471) PR Close #32471 --- aio/content/guide/app-shell.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/aio/content/guide/app-shell.md b/aio/content/guide/app-shell.md index 77a14a80de9..35640edd289 100644 --- a/aio/content/guide/app-shell.md +++ b/aio/content/guide/app-shell.md @@ -44,6 +44,12 @@ After running this command you will notice that the `angular.json` configuration "browserTarget": "my-app:build", "serverTarget": "my-app:server", "route": "shell" + }, + "configurations": { + "production": { + "browserTarget": "my-app:build:production", + "serverTarget": "my-app:server:production" + } } } @@ -56,4 +62,12 @@ Use the CLI to build the `app-shell` target. ng run my-app:app-shell +Or to use the production configuration. + + +ng run my-app:app-shell:production + + To verify the build output, open `dist/my-app/index.html`. Look for default text `app-shell works!` to show that the app shell route was rendered as part of the output. + +