Salesforce Lightning Web Component – Local development – Prerequisites with Demo

In this post & video to described about the local development for the Lightning web component configuration and simple helloWorld Lightning web component build, run & test it in our Local server.

As a Salesforce developer to buil, run and test it our code into Salesforce developer org/Sandbox, but now the wait is over and we have the option to build, run and test our component from Local server itself instead of deploying into Salesforce Org, so Salesforce made is easy for us to to build the component and fix the errors in local itself before pushing to Salesforce org and also we have the option to access Salesforce real-time data using LDS, UI API and Apex.



  • Configure Salesforce Org with Visual

> SFDX: Create Project

> SFDX: Create Project with Manifest

> SFDX: Authorize an Org

  • Configure Lightning Web Component with Local Development Server (LWC dev server)

sfdx plugins:install @salesforce/lwc-dev-server

sfdx plugins:update

sfdx force:lightning:lwc:start



Trailhead –

Announcing LWC Local Development Beta –

Local Development (Beta)

Written by 

I am Sakthivel Madesh, a certified Salesforce Advanced Developer & Administrator working on Salesforce Technology since 2011. I am currently working in Techforce Services as Sr. Salesforce Developer. I have worked on multiple technologies Like PHP, Java, Salesforce, I am very passionate about Salesforce and to earn 15x Salesforce Certification. I love Trailhead for learning Salesforce Skill and Become a Trailhead 5x Ranger too. I Love to Learn & Share my Salesforce knowledge to Salesforce Learners/Beginner using My Blog and Salesforce Community.

Leave a Reply

Your email address will not be published. Required fields are marked *