docs: fix schematics' package name for `ng generate` sub-commands (#40846)
PR Close #40846
This commit is contained in:
parent
67d85b3680
commit
5f0c219883
|
@ -76,9 +76,9 @@ The following top-level configuration properties are available for each project,
|
|||
## Generation schematics
|
||||
|
||||
Angular generation [schematics](guide/glossary#schematic) are instructions for modifying a project by adding files or modifying existing files.
|
||||
Individual schematics for the default Angular CLI `ng generate` sub-commands are collected in the package `@angular`.
|
||||
Individual schematics for the default Angular CLI `ng generate` sub-commands are collected in the package `@schematics/angular`.
|
||||
Specify the schematic name for a subcommand in the format `schematic-package:schematic-name`;
|
||||
for example, the schematic for generating a component is `@angular:component`.
|
||||
for example, the schematic for generating a component is `@schematics/angular:component`.
|
||||
|
||||
The JSON schemas for the default schematics used by the CLI to generate projects and parts of projects are collected in the package [`@schematics/angular`](https://github.com/angular/angular-cli/blob/master/packages/schematics/angular/application/schema.json).
|
||||
The schema describes the options available to the CLI for each of the `ng generate` sub-commands, as shown in the `--help` output.
|
||||
|
|
Loading…
Reference in New Issue