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