In this video we will setup Angular project using Angular CLI
The Angular CLI is a command line interface tool that can create a project, add files, and perform a variety of ongoing development tasks such as testing, bundling, and deployment.
Before using angular cli you need to setup Development Environment
Editor : Visual Studio Code :
https://code.visualstudio.com/
Node JS: node 6.9.x
npm 3.x.x
http://nodejs.org/
Now you can install angular cli by running following command
npm install -g @angular/cli
-g stands for global module.
Now you can create project by using ng command which you get from angular cli
Createproject : ng new my-app
move inside directory : cd my-app
launches the server : ng serve or ng serve -o
-o means start the server but also start my application on default browser
So with angular cli setup angular project is very easy
If you liked this video don't forget to subscribe my channel
Click subscribe for more updates:
• Introduction- Angular (Tutorial #1)
Connect with me:
Facebook: / angularjs4beginners
LinkedIn: / nisha-singla-82407aa0
In questa pagina del sito puoi guardare il video online Angular CLI : Project Setup - Angular (Tutorial #2) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Nisha Singla 30 agosto 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 24,827 volte e gli è piaciuto 260 spettatori. Buona visione!