mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 19:13:34 +08:00
docs: add anonymous options and schematics list
This commit is contained in:
parent
74bac97ce0
commit
0344563355
@ -5,6 +5,10 @@
|
|||||||
## Overview
|
## Overview
|
||||||
`ng build` compiles the application into an output directory.
|
`ng build` compiles the application into an output directory.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ng build [project]
|
||||||
|
```
|
||||||
|
|
||||||
### Creating a build
|
### Creating a build
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
## Overview
|
## Overview
|
||||||
`ng e2e` serves the application and runs end-to-end tests.
|
`ng e2e` serves the application and runs end-to-end tests.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ng e2e [project]
|
||||||
|
```
|
||||||
|
|
||||||
### Running end-to-end tests
|
### Running end-to-end tests
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
# ng generate
|
# ng generate
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
`ng generate [name]` generates the specified blueprint
|
`ng generate [name]` generates the specified schematic
|
||||||
|
|
||||||
## Available blueprints:
|
## Available Schematics:
|
||||||
- [class](generate/class)
|
- [class](generate/class)
|
||||||
- [component](generate/component)
|
- [component](generate/component)
|
||||||
- [directive](generate/directive)
|
- [directive](generate/directive)
|
||||||
@ -16,6 +16,10 @@
|
|||||||
- [pipe](generate/pipe)
|
- [pipe](generate/pipe)
|
||||||
- [service](generate/service)
|
- [service](generate/service)
|
||||||
|
|
||||||
|
- [application](generate/application)
|
||||||
|
- [library](generate/library)
|
||||||
|
- [universal](generate/universal)
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
<details>
|
<details>
|
||||||
<summary>dry-run</summary>
|
<summary>dry-run</summary>
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
## Overview
|
## Overview
|
||||||
`ng lint` will lint you app code using tslint.
|
`ng lint` will lint you app code using tslint.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ng lint [project]
|
||||||
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
<details>
|
<details>
|
||||||
<summary>configuration</summary>
|
<summary>configuration</summary>
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
## Overview
|
## Overview
|
||||||
`ng serve` builds the application and starts a web server.
|
`ng serve` builds the application and starts a web server.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ng serve [project]
|
||||||
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
<details>
|
<details>
|
||||||
<summary>prod</summary>
|
<summary>prod</summary>
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
## Overview
|
## Overview
|
||||||
`ng update` Updates the current application to latest versions.
|
`ng update` Updates the current application to latest versions.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ng update [package]
|
||||||
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
<details>
|
<details>
|
||||||
<summary>dry-run</summary>
|
<summary>dry-run</summary>
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
## Overview
|
## Overview
|
||||||
`ng xi18n` Extracts i18n messages from the templates.
|
`ng xi18n` Extracts i18n messages from the templates.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ng xi18n [project]
|
||||||
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
<details>
|
<details>
|
||||||
<summary>configuration</summary>
|
<summary>configuration</summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user