From the course: Angular Essential Training
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Application environments and build targets - Angular Tutorial
From the course: Angular Essential Training
Application environments and build targets
- [Instructor] Angular lets you define something called a build target, which lets you change the configuration and optimization of your code depending on where you want to deploy it. Build targets use something called an application environment to modify values used in your code without the need for conditional logic. All Angular developers should know how to work with application environments and build targets. I opened our project here in a GitHub code space. I talk about why we use code spaces earlier in this course. So for now, just think of them as an easy way to share and write code without installing anything on your local machine. I'll go to the source folder, environments, and click on environments dot ts. This is the application environment for our production builds. This is also this environment dot development dot ts file, which is for our development builds. Each file exports a single variable called…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Angular project configuration2m 40s
-
(Locked)
Application environments and build targets3m 52s
-
(Locked)
Injecting dependencies using dependency injection3m 31s
-
(Locked)
Declaring dependencies using dependency injection3m 22s
-
(Locked)
Providing dependencies using dependency injection3m 52s
-
(Locked)
Angular change detection strategies2m 40s
-
(Locked)
Angular component lifecycle hooks2m 52s
-
(Locked)
-
-
-
-