Runs an Architect target with an optional custom builder configuration defined in your project.
ng run <target>
Architect is the tool that the CLI uses to perform complex tasks such as compilation, according to provided configurations. The CLI commands run Architect targets such as
lint. Each named target has a default configuration, specified by an
options object, and an optional set of named alternate configurations in the
For example, the
serve target for a newly generated app has a predefined alternate configuration named
You can define new targets and their configuration options in the
architect section of the
angular.json file which you can run them from the command line using the
ng run command.
| || |
The Architect target to run provided in the following format
|Option||Description||Value Type||Default Value|
| || |
Shows a help message for this command in the console.
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.