Angular 6 Upgrade
Upgrades CLI, RxJS, Material to version 6.x
Upgrade Guide + Tips & Tricks
These are breaking changes. Please follow the following high level steps to upgrade your project to Angular 6.
- First upgrade your project to Angular 6 as per their migration guide.
npm uninstall @angular/cli
// note: don't use --save-dev flag
npm install @angular/cli@^6
ng update @angular/cli
ng update @angular/core
ng update rxjs
- Material must be upgraded separately
Update package.json only with @angular/material, @angular/cdk version 5.2.5 and then perform:-
ng update @angular/material
This will apply material schematics
- Update
ngx-cbp-theme
npm install @angular/material@latest
- Removing
rxjs-compat
Follow official RxJS 5 to 6 Migration Guide