Last updated 4 years ago
Was this helpful?
先全域下載 angular cli
>npm install -g @angular/cli
建置專案 my-first-app 是專案名稱
>ng new my-first-app
建置/執行
>cd my-first-app
>ng serve
執行成功,會講說要用哪個網址去在瀏覽器開啟 EX: http://localhost:4200/
http://localhost:4200/
參考資料:()
先清除舊版的、還有快取裡的
npm uninstall -g angular-cli npm cache clean --force