Tech Tip #25

Develop Lightning Web Components Faster with Real-Time Preview

Speed up your Lightning Web Component (LWC) development with Local Dev, now generally available!

This feature lets you preview your Lightning app in real time without deploying code or manually refreshing your browser.

Key Features:·

  • Instant updates while coding with real-time preview.
  • No need to deploy code or refresh manually.
  • Available for Lightning apps and in beta for Lightning Web Runtime sites.

How To Use It:

1. Install Salesforce CLI if you haven’t already.

2. In Setup, search for Local Dev and select it.

3. Enable Local Dev for your org and users.

4. Install the Local Dev plug-in by running the CLI command:sf plugins install @salesforce/plugin-lightning-dev

Available in: Lightning Experience & all versions of the Salesforce mobile app.

Read more