angular delete component (best way to delete component using cli)

Currently Angular CLI does not support option to remove components, you need to do it manually.

  1. Remove import references for each component from app.module
  2. Delete the components folder.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325814754&siteId=291194637