cool cool
cool cool

Reputation: 247

How to migrate from Angular 4 to Angular 5?

I am new in Angular. I have created new project using Angular CLI last month, but now the new version was released.

I want to migrate my project to latest version of Angular (v5), how can I do that?

Upvotes: 0

Views: 916

Answers (2)

Osman Cea
Osman Cea

Reputation: 1467

The Angular folks have published a migration guide which gives you specific instructions about how to update your application (not only your dependencies) depending on your current version, your package manager and how complex your application is.

You can try it here

Upvotes: 4

waris
waris

Reputation: 204

Updating is as easy as updating your Angular dependencies to the latest version.

Try:

npm install @angular/{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router,animations}@latest typescript@latest --save

install these pakages in you project.

Upvotes: 0

Related Questions