Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
787 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | Architect is the tool that the CLI uses to perform complex tasks such as compilation, according to provided configurations.
|
---|
| 2 | The CLI commands run Architect targets such as `build`, `serve`, `test`, and `lint`.
|
---|
| 3 | Each named target has a default configuration, specified by an "options" object,
|
---|
| 4 | and an optional set of named alternate configurations in the "configurations" object.
|
---|
| 5 |
|
---|
| 6 | For example, the "serve" target for a newly generated app has a predefined
|
---|
| 7 | alternate configuration named "production".
|
---|
| 8 |
|
---|
| 9 | You can define new targets and their configuration options in the "architect" section
|
---|
| 10 | of the `angular.json` file.
|
---|
| 11 | If you do so, you can run them from the command line using the `ng run` command.
|
---|
| 12 | Execute the command using the following format.
|
---|
| 13 |
|
---|
| 14 | ```
|
---|
| 15 | ng run project:target[:configuration]
|
---|
| 16 | ```
|
---|
Note:
See
TracBrowser
for help on using the repository browser.