# How to remove a component?

  1. Enter sbt shell, run command remove-component

     





    [Lottery] $ remove-component bread-release-0.5
    [info] bread-release-0.5 is removed from the project
    [info] remove the import 'import-component bread-release-0.5(BreadData,BreadDomain,NotifierProcess)' from ../training/lottery/k/Lottery.ksmile 
    and smile
    [info] refresh eclipse project
    
  2. Open ksmile file & remove the respective import. Also remove all the dependencies (if any).

  3. Run command smile