ng update to specific Angular version

前端 未结 5 1076
感情败类
感情败类 2020-12-18 18:13

I would like to update Angular from version 5.0 to version 6.1. The instructions at https://update.angular.io/ suggest using ng update @angular/core to update.

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-18 18:35

    According to the documentation you will need to define a From..

    --to=to     
    
    Version up to which to apply migrations. Only available with a single package being updated, and only on migrations only. Requires from to be specified. Default to the installed version detected.
    

提交回复
热议问题