Skip to content

Creatorise/teach-angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to Angular

Before we start

  • Installed nodejs
  • Installed npm

Install Angular-cli

npm install -g @angular/cli

Local setup guide

Getting started

1. Create Angular workspace

ng new angular-introduction
# yes to routing &
# scss as stylesheet format

# Or instead
ng new angular-introduction --skip-git --skip-tests --routing true --style scss

cd angular-introduction
code .

2. Start Angular

Option A - Run in vscode

  • Open run and debug tab
  • Run ng serve

Option B - From a new terminal

npm start -- --open # (in a new terminal)

3. Create hello-world component

ng generate component hello-world
# or
ng g c hello-world

Project teardown

rm angular-introduction -rf
npm uninstall @angular/cli

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published