Angular Application

Angular Application

Angular Application

1.Node.Js

https://nodejs.org/en/download/

2.TypeScript

>npm install -g typescript

3.Angular

>npm install -g @angular/cli

4.Yarn

>npm install --g yarn

5.Angular啟用Yarn

>ng config -g cli.packageManager yarn

6.安裝專案套件

>yarn install

要先切到angular專案目錄

7.啟動專案

> yarn start

8.瀏覽專案

http://localhost:4200

開瀏覽器應該就可以看到結果

PS5