iT邦幫忙

0

Angular#2 專案:新增 與 啟動

joor 2021-05-01 18:42:361198 瀏覽
  • 分享至 

  • twitterImage
  •  

Angular

1. 新增專案

ng new [project-name]

範例ng new system
https://ithelp.ithome.com.tw/upload/images/20210501/201371349UTpFfDLOk.png
https://ithelp.ithome.com.tw/upload/images/20210501/20137134XJI1hRgNRc.png


2. 在VSCode開啟專案資料夾

https://ithelp.ithome.com.tw/upload/images/20210501/20137134Qx2gvNxxLs.png

3. VSCode 撰寫

src>app>app.component.html

<h3>系統畫面</h3>

4. 啟動專案

ng serve --open --port [XXXX]

範例ng serve --open --port 9985
https://ithelp.ithome.com.tw/upload/images/20210502/20137134gdcghwQdu7.png
https://ithelp.ithome.com.tw/upload/images/20210502/20137134Bs9Uc7zMt9.png


5.完成

https://ithelp.ithome.com.tw/upload/images/20210501/20137134Zzas6Jpjl6.png


上一篇
下一篇


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 則留言

0
joor
iT邦新手 5 級 ‧ 2021-07-05 09:33:10

域名>DNS解析>IP>Server>返回消息>Browser
DNS在線查詢工具

我要留言

立即登入留言