Angular Tutorial || Environment Setup
Angular Environment Setup
Angular 8 is a client-side TypeScript based framework that is used to create dynamic web applications.
Features of Angular 8- Angular 8 supports TypeScript 3.4
- Angular 8 supports Web Workers
- The new compiler for Angular 8 is Ivy Rendering Engine
- Angular 8 provides dynamic imports for lazy-loaded modules.
- Improvement of ngUpgrade
TypeScript 3.4Angular 8 supports TypeScript 3.4 and it is required to run your Angular 8 project
Web Workersdata calls to take place asynchronously. Web Workers facilitates you to run the CPU intensive computations in the background thread, freeing the main thread to update the user interface.
1.Basic Development Environment
Features of Angular 8
- Angular 8 supports TypeScript 3.4
- Angular 8 supports Web Workers
- The new compiler for Angular 8 is Ivy Rendering Engine
- Angular 8 provides dynamic imports for lazy-loaded modules.
- Improvement of ngUpgrade
- Node
- NPM
- Angular CLI
- Text Editor (VS Code)
Steps
1.Install Node
installed Node.js version > 10. NPM will be updated also because it will be used by default
2.Open Command
Angular CLI version, use ng --version command.
3.Install visual studio code
installed Node.js version > 10. NPM will be updated also because it will be used by default
2.Open Command
- To check Node, use ng --version command.
- To check npm version, use node -v command.
3.Install Angular CLI
npm install -g @angular/cli
Angular CLI version, use ng --version command.
3.Install visual studio code
Create an Angular 8 project
To create a new project Hello-world
command:
ng new Hello-world
cd Hello-world
ng serve
open browser Run Project http://localhost:4200/