Home | Feedback | Login

Create First Angular App

How to Create Angular app

 intall node.js

verify node version: node -v

verify npm versoin: npm -v

 open CMD

get the angular cli: npm install -g @angular/cli@latest

verify ng version: ng -v

 

Start Creating  a website

 ng new myWebsite

cd myWebsite

npm install --save @angular/material @angular/animations (optional if working with matrials and animations)

ng serve

after successfull build, browse the website at: http://localhost:4200/

Open the website with editor of your choice and start modifying. e.g. with Vistual Studio Code.