Skip to content

Commit 80bf3d2

Browse files
committed
Add app shell questions
1 parent 3605c2a commit 80bf3d2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
|120| [What is Angular CLI Builder?](#what-is-angular-cli-builder)|
129129
|121| [What is a builder?](#what-is-a-builder)|
130130
|122| [How do you invoke a builder?](#how-do-you-invoke-a-builder)|
131+
|123| [How do you create app shell in Angular?](#how-do-you-create-app-shell-in-angular)|
131132

132133
1. ### What is Angular Framework?
133134

@@ -1618,5 +1619,11 @@
16181619
A builder function ia a function that uses the `Architect API` to perform a complex process such as "build" or "test". The builder code is defined in an npm package. For example, BrowserBuilder runs a webpack build for a browser target and KarmaBuilder starts the Karma server and runs a webpack build for unit tests.
16191620
122. ### How do you invoke a builder?
16201621
The Angular CLI command `ng run` is used to invoke a builder with a specific target configuration. The workspace configuration file, `angular.json`, contains default configurations for built-in builders.
1622+
123. ### How do you create app shell in Angular?
1623+
An App shell is a way to render a portion of your application via a route at build time. This is useful to first paint of your application that appears quickly because the browser can render static HTML and CSS without the need to initialize JavaScript. You can achieve this using Angular CLI which generates an app shell for running server-side of your app.
1624+
```javascript
1625+
ng generate appShell [options] (or)
1626+
ng g appShell [options]
1627+
```
16211628
16221629

0 commit comments

Comments
 (0)