Angular常用指令command line
安裝Angular Cli
npm install -g @angular/cli
新建Angular專案
ng new fileName --style=scss
啟動Angular專案
ng serve
新建Angular component
ng generate component newComponent
縮寫:ng g c newComponent
安裝Angular Cli
npm install -g @angular/cli
新建Angular專案
ng new fileName --style=scss
啟動Angular專案
ng serve
新建Angular component
ng generate component newComponent
縮寫:ng g c newComponent