在
Angular項目下執行指令行ng serve --open:

The ng serve command builds the app, starts the development server, watches the source files, and rebuilds the app as you make changes to those files.
The --open flag opens a browser to http://localhost:4200/.
ng serve指令行執行的事情:
(1) build應用,開啟development伺服器,監聽source檔案的修改,一旦有檔案被編輯,立即自動重新build應用
(2) --open選項的作用:開啟浏覽器打開該應用。
浏覽器裡顯示的應用如下:
我們看到的實際是一個Application shell.這個shell被一個Angular Component控制。
Component是Angular裡一個核心概念,負責顯示資料到頁面上,監聽使用者輸入并響應。
ng serve指令行在Windows10系統上實際的執行明細
運作的是node_modules檔案夾下@angular\cli\bin檔案夾裡的ng: