Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
680 bytes
|
Line | |
---|
1 | The command takes an optional project name, as specified in the `projects` section of the `angular.json` workspace configuration file.
|
---|
2 | When a project name is not supplied, executes the `deploy` builder for the default project.
|
---|
3 |
|
---|
4 | To use the `ng deploy` command, use `ng add` to add a package that implements deployment capabilities to your favorite platform.
|
---|
5 | Adding the package automatically updates your workspace configuration, adding a deployment
|
---|
6 | [CLI builder](guide/cli-builder).
|
---|
7 | For example:
|
---|
8 |
|
---|
9 | ```json
|
---|
10 | "projects": {
|
---|
11 | "my-project": {
|
---|
12 | ...
|
---|
13 | "architect": {
|
---|
14 | ...
|
---|
15 | "deploy": {
|
---|
16 | "builder": "@angular/fire:deploy",
|
---|
17 | "options": {}
|
---|
18 | }
|
---|
19 | }
|
---|
20 | }
|
---|
21 | }
|
---|
22 | ```
|
---|
Note:
See
TracBrowser
for help on using the repository browser.