Steps: Deleting a lightning component is very easy.
Step 1: Open the lightning component in Developer console.
Example: I want to delete "helloMessage.cmp" component.So I opened it in developer console.
Go to File --> Open Lightning Resources -->Select component to open(helloMessage.cmp) --> Click on "Open Selected" button.
Step 2: Delete this component by pressing "Delete" button(Go to File --> Delete).
That's it..The component is deleted....
Note: If the component is referenced somewhere else in the system ,it won't get deleted.Remove the references and then delete it.
Step 1: Open the lightning component in Developer console.
Example: I want to delete "helloMessage.cmp" component.So I opened it in developer console.
Go to File --> Open Lightning Resources -->Select component to open(helloMessage.cmp) --> Click on "Open Selected" button.
Step 2: Delete this component by pressing "Delete" button(Go to File --> Delete).
That's it..The component is deleted....
Note: If the component is referenced somewhere else in the system ,it won't get deleted.Remove the references and then delete it.
No comments:
Post a Comment