From the course: Angular: Animations
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Preview the project - Angular Tutorial
From the course: Angular: Animations
Preview the project
- [Instructor] Angular CLI makes previewing our application live in the web browser a simple task. Just use the command ng serve. To do that, we need to access a terminal or command prompt and we could do that using the system terminal if we wanted to. However, one of the really great things about Visual Studio Code is that it has its own integrated terminal that we can access that will default to the root of our project. So, to access the terminal, just go to view and choose integrated terminal and there we are. So, if we want to see what's actually going to be served, let's open up our index.html file here and we can see that we have a basic HTML file that will be served. Inside of our app-root is where our actual application source is going to be compiled and displayed. So, going back to the terminal, type in ng which is the command to invoke the Angular CLI and then we will say serve. The serve command is going to go ahead and actually compile all of our type script and related…
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.