📜  删除组件 Angular - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:26.290000             🧑  作者: Mango

代码示例1
Steps to delete a component in Angular
1. Remove the import line reference from Angular app.module.ts file.
2. Remove the component declaration from @NgModule declaration array in app.module.ts file
3. And then manually delete the component folder from Angular project.
4. Finally Delete all the references of component manually from the Angular project.