filmov
tv
[Angular] - CLI Create new project (step-by-step)
Показать описание
[Angular] - create/start your first angular 2 or angular 4 quick start application/project using CLI step by step
CLI is the easiest way to create a angular application/project.
CLI is a command line interface tool.
It provide us some facilities like create a application/project, add files, doing development task.
It also help us in bundling, testing and deployment.
In this video you can learn how to create a simple angular application in Typescript with the help of CLI.
Why angular CLI?
1) It comes with already pre-configured, so we can get the lots of its benefits without the hassle of configure the whole setup for application/project.
2) Very easy to use with very short of command
ng new – for create a new angular-cli
ng init – for initialize the current project
ng test – for run all unit tests
ng e2e – for run all protractor e2e tests
ng serve – for run your app in a local server
ng build – for compile TypeScript code, bundle the dependency tree and dump it to the dist folder.
ng build --prod – for minify, zip, hash etc.
Follow below steps to create Angular app using CLI
1) npm install -g @angular/cli
2) ng new my-app
3) cd my-app
4) ng serve
Enjoy!!
#Angular #AngularCLI #AngularProject
CLI is the easiest way to create a angular application/project.
CLI is a command line interface tool.
It provide us some facilities like create a application/project, add files, doing development task.
It also help us in bundling, testing and deployment.
In this video you can learn how to create a simple angular application in Typescript with the help of CLI.
Why angular CLI?
1) It comes with already pre-configured, so we can get the lots of its benefits without the hassle of configure the whole setup for application/project.
2) Very easy to use with very short of command
ng new – for create a new angular-cli
ng init – for initialize the current project
ng test – for run all unit tests
ng e2e – for run all protractor e2e tests
ng serve – for run your app in a local server
ng build – for compile TypeScript code, bundle the dependency tree and dump it to the dist folder.
ng build --prod – for minify, zip, hash etc.
Follow below steps to create Angular app using CLI
1) npm install -g @angular/cli
2) ng new my-app
3) cd my-app
4) ng serve
Enjoy!!
#Angular #AngularCLI #AngularProject