Skip to content

Commit f4f91ad

Browse files
committed
Add angular upgrade question
1 parent aa0ea14 commit f4f91ad

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
|142| [Is Angular supports dynamic imports?](#is-angular-supports-dynamic-imports)|
151151
|143| [What is lazy loading?](#what-is-lazy-loading)|
152152
|144| [What are workspace APIs?](#what-are-workspace-apis)|
153-
|145| [](#)|
153+
|145| [How do you upgrade angular version?](#how-do-you-upgrade-angular-version)|
154154
|146| [](#)|
155155
|147| [](#)|
156156
|148| [](#)|
@@ -1884,7 +1884,11 @@
18841884
18851885
addBuildTargetOption();
18861886
```
1887-
145. ### ?
1887+
145. ### How do you upgrade angular version?
1888+
The Angular upgrade is quite easier using Angular CLI `ng update` command as mentioned below. For example, if you upgrade from Angular 7 to 8 then your lazy loaded route imports will be migrated to the new import syntax automatically.
1889+
```bash
1890+
$ ng update @angular/cli @angular/core
1891+
```
18881892
146. ### ?
18891893
147. ### ?
18901894
148. ### ?

0 commit comments

Comments
 (0)