How to update / upgrade from Angular 4 to Angular 5+

前端 未结 6 1379
长情又很酷
长情又很酷 2020-12-01 00:11

I need to update my project from Angular 4 to Angular 5+ ,

I need to change all following dependencies to Angular 5+.

I also updated Angular CLI to 1.5.0.

6条回答
  •  悲哀的现实
    2020-12-01 00:46

    If you want to simply upgrade your angular4 project to angular 5 do the following.

    1. Go to your project directory.
    2. Open a command prompt and run the following commands
    3. npm install -g npm-check-updates
    4. ncu -u

    This worked for me.

    http://www.talkingdotnet.com/upgrade-angular-4-app-angular-5-visual-studio-2017/

提交回复
热议问题