Skip to content

Angular 6 Upgrade

Compare
Choose a tag to compare
@yogeshgadge yogeshgadge released this 28 Jun 18:01
· 69 commits to master since this release

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