Categories

Monday, December 23, 2024
#919814419350 therichposts@gmail.com
Angular 12

How to update angular version to 12?

How to update angular version to 12?

Hello guys, how are you? Welcome back to my blog therichpost.com. Today in this blog post, I will tell you How to update angular version to 12?

Guys today I very happy because Angular12 finally came and here I will tell you to update angular version to 12 and Angular12 updating requirements.

How to update angular version to 12?
How to update angular version to 12?

1. Friends very first we need to run below query inside our terminal to update our angular version to 12 and guys we also need latest node version(14.17.0) install into our system. We can not use older version of Nodejs with Angular 12:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
ng update @angular/core@12 @angular/cli@12
ng update @angular/core@12 @angular/cli@12
ng update @angular/core@12 @angular/cli@12

2. After run above command open your package.json file and you will like below image:

Angular 12 Package Json file
Angular 12 Package Json file

Friends in the end must run ng serve command into your terminal to run the angular 12 project.

Running Angular 12

Now guys I will come with more Angular 12 demos and Snippets.

Jassa

Thanks

therichpost
the authortherichpost
Hello to all. Welcome to therichpost.com. Myself Ajay Malhotra and I am freelance full stack developer. I love coding. I know WordPress, Core php, Angularjs, Angular 19, MedusaJs, Next.js, Bootstrap 5, Nodejs, Laravel, Codeigniter, Shopify, Squarespace, jQuery, Google Map Api, Vuejs, Reactjs, Big commerce etc.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.