Back to Nx

Scam To Standalone Examples

packages/angular/docs/scam-to-standalone-examples.md

22.7.1392 B
Original Source

Examples

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