An open API service indexing awesome lists of open source software.

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

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)