Reputation:
I want to use the routing state, described also here, for the version 7.2.x of Angular, I have 7.1.1 currently, I tried uninstalling and reinstalling CLI globaly and locally, but no change, how can I upgrade Angular?
dependencies": {
"@angular/animations": "^7.2.14",
"@angular/cdk": "^7.3.6",
"@angular/cli": "^7.3.9",
"@angular/common": "^7.1.1",
"@angular/core": "^7.1.1",
"@angular/forms": "^7.1.1",
"@angular/http": "^7.1.1",
"@angular/material": "^7.3.6",
"@angular/router": "^7.1.1", //This one does not help.
....
},
Upvotes: 0
Views: 90
Reputation: 7273
Run the following command
ng update @angular/[email protected]
and just the following to see what all can be updated
ng update
Upvotes: 1