angular腳手架cli使用

一、自定義組件:javascript ng g component components/header 其中components是組件要存放的目錄,若是不加,則會存放在app目錄下。java 二、其餘自定義建立命令:app ng g directive my-new-directive ng g pipe my-new-pipe ng g service my-new-
相關文章
相關標籤/搜索