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.
Angular project configuration - Angular Tutorial
From the course: Angular Essential Training
Angular project configuration
- [Instructor] In Angular, the two main configuration files are tsconfig.json and angular.json. All Angular developers should be familiar with these files. I opened our project here in a GitHub Codespace. I talked about why we use Codespaces 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 root of our project and click on tsconfig.json to open the file. We write Angular apps using TypeScript. And this file tells the TypeScript compiler how to generate JavaScript code. The Angular CLI tool configures sensible defaults when you start a new project, but you can always change the settings if needed. The two properties I customize most often are compiler options and Angular compiler options. Use the compiler options property to tell TypeScript how to compile your code. And use the Angular compiler options property to…
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)
-
-
-
-