nx/packages/angular/docs/scam-to-standalone-examples.md
Leosvel Pérez Espinosa 73e2c506bb
docs(angular): update tutorial and docs with angular v20 changes (#31356)
Updates the Angular Monorepo tutorials to reflect the changes in Angular
v20.
2025-06-09 10:27:53 +02:00

18 lines
442 B
Markdown

## Examples
{% tabs %}
{% tab label="Basic Usage" %}
This generator allows you to convert an Inline SCAM to a Standalone Component. It's important that the SCAM you wish to convert has it's NgModule within the same file for the generator to be able to correctly convert the component to Standalone.
```bash
nx g @nx/angular:scam-to-standalone --component=libs/mylib/src/lib/myscam/myscam.ts --project=mylib
```
{% /tab %}
{% /tabs %}