From the course: Learning the Angular CLI

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Using ng update: Part 1

Using ng update: Part 1 - Angular Tutorial

From the course: Learning the Angular CLI

Start my 1-month free trial

Using ng update: Part 1

- Let's go ahead now and update the existing project by first cloning it and running npm install. We'll first update from version 8 to version 9. Click on Advanced and click on Show Me How To Update. Let's go through each checkbox now. Let's run a search for renderer. That yields no results, so we can check that off. We aren't lazy loading modules in this application. But if you are, make sure you are using dynamic imports. The @angular/platform-webworker doesn't apply here. Nor does a web tracing framework. And we aren't using the es5BrowserSupport flag. Okay, it is now time for the update. For any update in your project, make sure to first create a branch. We'll call our branch angular-9-update. We are using the Node LTS. So we're good on the node version. copy and run the command provided here. (keyboard clattering) You can see that this is updating us from 8.2.4 to 8.2.14. Once that is done,…

Contents