DEV Community

Discussion on: Upgrading to Angular 6!

Collapse
 
jamesjansson profile image
James Jansson

Some people may be having issues upgrading, thanks to Angular material. Make sure to run:

ng update @angular/cdk

Collapse
 
chiangs profile image
Stephen Chiang

Thanks! If anyone ran into issues and found fixes please do post them here for everyone.

Collapse
 
morr0350 profile image
Tony M

A gotcha I encountered is that I had to rebuild my custom theme file, because Angular Material's core styles have changed and certain things like MatMenu will break without the new CDK overlay styles. So I had to run 'node-sass src/app-theme.scss src/assets/app-theme.css' to update my app styles with Angular Material's new v6 styles (which are imported in my app-theme.scss). Related Stack Overflow post describing issue: stackoverflow.com/questions/504283...