function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Adam RycroftAdam Rycroft 

editing an existing LWC component?

Hi,

We have a LWC component built by an outside developer that needs to be edited. How do you edit an existing compenent?
Best Answer chosen by Adam Rycroft
Naveen KNNaveen KN
Hi Adam, 

To edit the existing LWC, please follow the steps
1. Install vs code (visual studio code) editor with required dependencies. 
2. Install Salesforce CLI
3. Connect or Authorise your sandbox from the VScode Editor 
4. Retrieve the component (in your case LWC)
5. Make the changes and check in the LWC to the sandbox 

hope this helps!
--
Naveen KN