更新到Angular 9 | Angular cli update to 9
本指南包含關於更新到下一個Angular版本所需的全部知識。Thisguidecontainsinformationrelatedtoupdatingtoversion9ofAngular.更新CLI應用UpdatingCLIApps有關如何更新到最新Angular版本的分步說明(並利用我們的自動遷移工具進行更新),請使用update.angular.io[1]上的互動式更新指南。Forstep-by-stepinstructionsonhowtoupdatetothelatestAngularrelease(andleverageourautomatedmigrationtoolstodoso),usetheinteractiveupdateguideatupdate.angular.io[2].如果你對CLI正在執行的某些遷移工作感到好奇,參見“自動遷移”部分[3]以...
本指南包含關於更新到下一個 Angular 版本所需的全部知識。
This guide contains information related to updating to version 9 of Angular.
更新 CLI 應用Updating CLI Apps有關如何更新到最新 Angular 版本的分步說明(並利用我們的自動遷移工具進行更新),請使用 update.angular.io[1] 上的互動式更新指南。
For step-by-step instructions on how to update to the latest Angular release (and leverage our automated migration tools to do so), use the interactive update guide at update.angular.io[2].
如果你對 CLI 正在執行的某些遷移工作感到好奇,參見“自動遷移”部分[3]以瞭解關於要更改哪些程式碼以及更改原因的詳細資訊。
If youre curious about the specific migrations being run by the CLI, see the automated migrations section[4] for details on what code is changing and why.
版本 9 中的更改和棄用Changes and Deprecations in Version 9新的重大變化New Breaking ChangesAngular 現在預設使用 Ivy 進行編譯。參見 Ivy 相容性部分[5]。
Angular now compil...