docs(angular): forwarding generators to angular (#15394)

This commit is contained in:
Isaac Mann 2023-03-03 09:42:13 -05:00 committed by GitHub
parent fde0abf998
commit 6dee75f08c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

View File

@ -77,6 +77,14 @@ Read more about:
- [Library Types](/more-concepts/library-types)
- [Buildable and Publishable Libraries](/more-concepts/buildable-and-publishable-libraries)
### Fallback to `@schematics/angular`
If you try to invoke a generator that is not present in `@nrwl/angular`, the request will automatically be forwarded on to `@schematics/angular`. So, even though there is no `@nrwl/angular:service` generator, the following command will successfully create a service:
```shell
nx g @nrwl/angular:service my-service
```
## More Documentation
- [Angular Nx Tutorial](/angular-tutorial/1-code-generation)

View File

@ -77,6 +77,14 @@ Read more about:
- [Library Types](/more-concepts/library-types)
- [Buildable and Publishable Libraries](/more-concepts/buildable-and-publishable-libraries)
### Fallback to `@schematics/angular`
If you try to invoke a generator that is not present in `@nrwl/angular`, the request will automatically be forwarded on to `@schematics/angular`. So, even though there is no `@nrwl/angular:service` generator, the following command will successfully create a service:
```shell
nx g @nrwl/angular:service my-service
```
## More Documentation
- [Angular Nx Tutorial](/angular-tutorial/1-code-generation)