From e213080c0b6ea74e2e735fff15fd38dfa93a40ed 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 e6cf74f203..cef5676605 100644 --- a/aio/content/guide/app-shell.md +++ b/aio/content/guide/app-shell.md @@ -43,6 +43,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" + } } } @@ -55,4 +61,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. + +