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 

3x Salesforce MVP | Platform Champion | 18x Salesforce Certified | MuleSoft Certified | 8x Trailhead Ranger | TechForce Services | Sydney | Australia

Leave a Reply

Your email address will not be published.