02 November 2018

Setting Up a New Angular 2 Project - Angular - Getting started

Getting started
Setting Up a New Angular 2 Project - Angular - Getting started

Welcome to Angular! Angular helps you build modern applications for the web, mobile, or desktop.

Prerequisites
Angular requirements Node.js version
  • 8.x
  • 10.x.
  • 11.x
To check version, run node -v in cmd.
To check the npm -v version in cmd.
Step 1: Install Angular CLI
npm install -g @angular/cli
Step 2: Create workspace
ng new my-app
Use css and hit enter
Step 3: Run the program with the server
cd my-app
ng serve --open
or
ng serve --port=8080 --open

0 nhận xét:

Post a Comment

 

BACK TO TOP

Xuống cuối trang