763 B
763 B
move
Move an Angular application or library to another folder
Usage
ng generate move ...
ng g mv ... # same
By default, Nx will search for move in the default collection provisioned in angular.json.
You can specify the collection explicitly as follows:
ng g @nrwl/angular:move ...
Show what will be generated without writing to disk:
ng g move ... --dry-run
Examples
Move libs/my-feature-lib to libs/shared/my-feature-lib:
ng g @nrwl/angular:move --project my-feature-lib shared/my-feature-lib
Options
destination
Type: string
The folder to move the Angular project into
projectName
Alias(es): project
Type: string
The name of the Angular project to move