From the course: SharePoint Framework for Developers: 5 SPFx and Angular

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Angular CLI

Angular CLI

From the course: SharePoint Framework for Developers: 5 SPFx and Angular

Start my 1-month free trial

Angular CLI

- [Narrator] No discussion on Angular is complete without talking about Angular CLI. Let me explain. So, I just talked about this massive ramp-up cost on Angular. To solve this very problem is why Angular CLI exists. Angular CLI makes it easy to create an application that just works, right out of the box. And it already follows the best practices. All you need to do is run this command on permanalt. npm install-g@angular/cli. This will install Angular CLI for you in the global name space. And, then using ng, a command called ng you can create a new project. Like ng, new project name, and bam you have your project in place, ready to go. I'll show you this in action momentarily. So, what are the advantages of using Angular CLI? Well, it allows you to create a new project, isn't that nice? So, a lot of code is already written for you, code that supports a lot of things that a typical enterprise class Angular project will need. It includes full support for debug and dev. So during…

Contents