Upgrade from Angular 2.x to Angular 4!
Looking to upgrade your project to Angular 4 ?
You can simply try an in-place upgrade:
iOS/Linux:
npm i @angular/{common,compiler,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router}@next typescript@latest –S –E
npm i @angular/compiler-cli@next --D -E
Windows:
npm i @angular/common@next @angular/compiler@next @angular/core@next @angular/forms@next @angular/http@next @angular/platform-browser@next @angular/platform-browser-dynamic@next @angular/platform-server@next @angular/router@next typescript@latest --S -E
npm i @angular/compiler-cli@next --D -E
> For me, there was no code changes and my bundles became 25% smaller!