upgrade angular project to 10 code example
Example 1: update angular cli 10
content_copy
ng update @angular/cli @angular/core
Example 2: update angular materia;
npm update @angular/material @angular/cdk
content_copy
ng update @angular/cli @angular/core
npm update @angular/material @angular/cdk