Back to Angular

@angular/localize schematic for `ng add`

packages/localize/schematics/ng-add/README.md

22.0.0-next.10478 B
Original Source

@angular/localize schematic for ng add

This schematic will be executed when an Angular CLI user runs ng add @angular/localize.

It will search their angular.json file, and add types: ["@angular/localize"] in the TypeScript configuration files of the project.

If the user specifies that they want to use $localize at runtime then the dependency will be added to the dependencies section of package.json rather than in the devDependencies which is the default.