LWC development doesn't need to be slow and painful.
Build your Lightning Web Components locally.
View Documentation
·
Report Bug
·
Request Feature
Table of Contents
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.
- 🚀 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
Make sure you have node, pnpm and sfdx installed as well as a lwc.config.json file.
pnpm add @lwc-garden/corenpx @lwc-garden/core devFor more information, check out the Official Documentation.
You can test the local package using
npx -p @lwc-garden/core devPublish the @lwc-garden/core package:
pnpm publish --filter @lwc-garden/core --access publicPublish the @lwc-garden/utils package:
pnpm publish --filter @lwc-garden/utils --access publicNote
you may require running npm login if you're having authentication issues
Distributed under the GNU General Public License v3.0. See LICENSE for more information.
Project Link: https://github.com/lukethacoder/lwc-garden



