Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update Angular from any version to latest stable

Tags:

angular

I have worked on few projects where I used angular-cli which was configured to create apps, components, services, etc. in rc4 release. Now I'd like to update these project to the final release of angular 2 (or latest), what are the steps I need to do to update it correctly?

Is it better to update it version by version until I reach desired release (so first update it to rc5, check if everything works, then rc6, and so on...) or can update it straight to the latest release?

Thank you in advance.

like image 250
Dawid Zbiński Avatar asked Feb 06 '23 02:02

Dawid Zbiński


1 Answers

Go to angular 2 changelog and search for "breaking changes". Each breaking changes section explains how to migrate. Start from rc5 and work your way up.

like image 145
Luiz Avatar answered Feb 13 '23 05:02

Luiz