https://github.com/jsmithdev/lwc-server
This is a simple server for local LWC development
https://github.com/jsmithdev/lwc-server
local lwc salesforce server
Last synced: about 1 month ago
JSON representation
This is a simple server for local LWC development
- Host: GitHub
- URL: https://github.com/jsmithdev/lwc-server
- Owner: jsmithdev
- Created: 2024-02-01T10:19:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T10:36:13.000Z (over 2 years ago)
- Last Synced: 2025-08-09T10:38:47.785Z (10 months ago)
- Topics: local, lwc, salesforce, server
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/lwc-server
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lwc-server
This is a simple server for local LWC (Lightning Web Components) development
## Installation
```bash
npm install -g lwc-server
```
## Usage
`lwc-server [path to lwc directory] `
Options
| Flag | Short | Description |
| -------- | -------- | -------- |
| --default | -d | Default the path so you can pass myComponent instead of force-app/main/default/lwc/myComponent |
Examples
`lwc-server force-app/main/default/lwc/myComponent`
`lwc-server myComponent --default`
`lwc-server --version`
## Todo
Much. For now this only works for basic LWCs.
- can use lightning base components and slds
- can not call apex methods, wire, etc
## Development
todo
---
written by [Jamie Smith](https://jsmith.dev)