Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>LWR Create For LWC Open SourceNew to Visual Studio Code? Get it now.
LWR Create For LWC Open Source

LWR Create For LWC Open Source

Forcetrails

|
519 installs
| (1) | Free
Code snippets for Salesforce LWC and LWR Open Source components.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LWR Create For LWC Open Source

VS Code extension for Salesforce's Lightning Web Runtime and Lightning Web Component Open Source. This helps developers scaffolding new LWC components and layout templates for LWR Open source.

Install/Download the extension

LWR Create For LWC Open Source

Features

Below features are supported for LWR OSS projects

  1. Create new Lightning web component.
  2. Create new JS Only Lightning web component.
  3. Create new CSS Only Lightning web component.
  4. Create layout template for your web app.
  5. Create new Nunjucks template in the projects layout folder.
  6. Create new Markdown Content page.

Requirements

NA

Known Issues

None so far

Release Notes

0.0.1

Initial release with three commands

  1. LWR: Create Lightning Web Component
  2. LWR: Create Lightning Web Component (JS only)
  3. LWR: Create Lightning Web Component (CSS only)
  4. LWR: Create LWR Layout

0.0.2

Added two more commands

  1. LWR: Create Nunjucks(njk) Layout
  2. LWR: Create Markdown Content

Updated the custom folder path options in commands.

0.0.4

Added JavaScript code snippets starting with lwr.

  1. lwr:eventDispatch
  2. lwr:eventDispatchDetail
  3. lwr:alertSuccess
  4. lwr:alertError
  5. lwr:alertWarning
  6. lwr:promptDefault
  7. lwr:promptWithHeader
  8. lwr:confirmWithoutHeader
  9. lwr:confirmWithHeader
  10. lwr:importLightningAlert
  11. lwr:importLightningPrompt
  12. lwr:importLightningConfirm
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft