Angular 12 References/ CLI
🍀 Angular References

App-shell builder

ID: @angular-devkit/build-angular:app-shell


App shell is a way to render a portion of your application via a route at build time. This gives users a meaningful first paint of your application because the browser does not need to initialize any JavaScript, just rendering the HTML.

Links & Tutorials



Script that exports the Server AppModule to render. This should be the main JavaScript outputted by the server target. By default we will resolve the outputPath of the serverTarget and find a bundle named 'main' in it (whether or not there's a hash tag).

Type string


Target to build.

Type string


The input path for the index.html file. By default uses the output index.html of the browser target.

Type string


The output path of the index.html file. By default will overwrite the input file.

Type string


The route to render.

Type string
Default /


Server target to use for rendering the app shell.

Type string