Angular provides a utility to update its packages. If you naively update every single one manually, you’ll get errors because the library will be incompatible with itself. Maybe other flavors of SPA have update scripts, too?
ng update @angular/core@<the next major version> @angular/cli@<the next major version> Don’t skip versions!
Angular provides a utility to update its packages. If you naively update every single one manually, you’ll get errors because the library will be incompatible with itself. Maybe other flavors of SPA have update scripts, too?
ng update @angular/core@<the next major version> @angular/cli@<the next major version>
Don’t skip versions!I’ve mostly been working with VueJS 2 projects with the goal to upgrade to 3.