Creating Addtional Environments for an Angular Project

Published on

Update Angular 15 By default when you generate a new application with Angular 15, the schematic will no longer generate environments automatically for you. The CLI does provide a generate option if you still wish to use environments. To add enironments to your project simply run ng generate environments --project <project-name>. Prior version of Angular used environment.ts as the development environment and environment.prod.ts for production. With Angular 15, it inverses the naming, environment.