What is the best way to delete a component with CLI

后端 未结 14 1456
时光取名叫无心
时光取名叫无心 2020-12-22 18:35

I tried using \"ng destroy component foo\" and it tells me \"The destroy command is not supported by Angular-CLI\"

How do we properly delete components with Angular

14条回答
  •  伪装坚强ぢ
    2020-12-22 18:58

    If you looking for some command in CLI, Then ans is NO for now. But you can do manually by deleting the component folder and all the references.

提交回复
热议问题