Skip to content

πŸƒ Lightning Web Component Local Dev Server - Local First, Mocking, Slot Prefilling, Args + more

License

Notifications You must be signed in to change notification settings

lukethacoder/lwc-garden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

53 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


LWC Garden logo

LWC Garden

LWC development doesn't need to be slow and painful.
Build your Lightning Web Components locally.

View Documentation Β· Report Bug Β· Request Feature

Stargazers Issues MIT License LinkedIn

Table of Contents
  1. Screenshots
  2. About The Project
  3. Getting Started
  4. Next Steps
  5. License
  6. Contact

Screenshots

product-screenshot

product-screenshot-2

product-screenshot-3

(back to top)

About The Project

LWC Garden aims to be a replacement for the official Salesforce @salesforce/lwc-dev-server, which has not received an update since 2021.

LWC Garden brings an array of new features and customisation so you can develop how you want to, locally.

Features

  • πŸš€ Local First Development (feat. Speedy HMR)
  • πŸ§ͺ Mock Anything (Apex, OmniScript, 3rd Party Packages and on-platform imports)
  • πŸ₯§ <slot/> Placeholders
  • πŸ’… SLDS Support OOTB
  • ✏️ API Editor via Storybook-like argTypes
  • 🎨 Custom Theming API
  • βš™οΈ Config as much or as little as your like

(back to top)

Built with

  • LWC
  • Webpack
  • PNPM
  • Prettier

Documentation site built with Astro and Starlight.

(back to top)

Getting Started

Prerequisites

Make sure you have node, pnpm and sfdx installed as well as a lwc.config.json file.

Install LWC Garden

pnpm add @lwc-garden/core

Run Local Dev Server

npx @lwc-garden/core dev

(back to top)

Next Steps

For more information, check out the Official Documentation.

docs-screenshot

(back to top)

Publishing

Only the @lwc-garden/core package should be published to npm (for now).

pnpm publish --filter @lwc-garden/core --access public

License

Distributed under the GNU General Public License v3.0. See LICENSE for more information.

(back to top)

Contact

Luke Secomb - @lukethacoder

Project Link: https://github.com/lukethacoder/lwc-garden

(back to top)