Generally in the angular application by default, we have two environment 1) Development 2) Production Environment. But In some cases, we need to add other environments for our application like QA and staging environment. So let's see how we can add multiple environments in angular application for that we have to perform some steps. Step 1:- Custom Environment File - Here For every target environment, we have to create a new file under the environment folder here i have created two files evnironment.qa.ts and environment.staging.ts Step 2:- Custom Environment Setting - Here now you have to configure your environment name and new environment API URL and other settings For Example:- Step 3:- Need to Update the angular.json file - Now in the angular project you can find the angular.json file. in that file, you have to configure your new environment like below Here I have configure for QA environment Step 4:- Build an Application For the new environment - Now to build app
Welcome to "TechoSwag" in this website you will get details understanding of "Angular" all versions like "Angular 2,4,5,6,7,8,9,10,11,12" and the basic concept of "JavaScrips" and the latest "ES6" features like "Arrow Funtions", "REST Operator", "SPRED Operators", etc.... In future will cover "ReactJS", "NODEJS", "HTML/CSS", "BOOTSTRAP"