-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGeneralNotes.txt
More file actions
23 lines (20 loc) · 1.05 KB
/
Copy pathGeneralNotes.txt
File metadata and controls
23 lines (20 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
step 1: install node js
check install-> node -- version
-----------------------------------------------------------------------------------------
#g stands for global / cli = command line interface / used for creating boiler plate code
-and generating
step 2: run command -> sudo npm install -g @angular/cli
check install-> ng version
-----------------------------------------------------------------------------------------
step 3: creare first project
ng new hello-world
use npm routing and css
-----------------------------------------------------------------------------------------
code . opens vs code and the folder realted to whats being worked on
-----------------------------------------------------------------------------------------
step 4: cd into folder and run app via -> ng serve
-----------------------------------------------------------------------------------------
strp 5: install typescript -> sudo npm install -g typescript
check version -> isc --version
run typescript with -> tsc filename (main.ts)
run files like so -> tsc main.ts | node main.js