lwc-garden
lwc-garden copied to clipboard
🍃 Lightning Web Component Local Dev Server - Local First, Mocking, Slot Prefilling, Custom Labels, Args + more
OS: OS X Sonoma Machine : M2 macbook pro Using nvm, specifically node `18.17.1`. Here's basically what I did: ``` nvm use --lts npm install -g pnpm git clone https://github.com/lukethacoder/lwc-garden...
When running the above command I get an error saying: [error] LWC1127: Invalid directive "lwc:is" on element . [CompilerError: LWC1127: Invalid directive "lwc:is" on element .] { level: 1, code:...
Hello, was wondering if it was possible to have the apex calls and such rely on the salesforce org like with LWC local development did
**Is your feature request related to a problem? Please describe.** Manually creating mocks and defining module name/path is a PITA. ```json "modules": [ { "name": "@salesforce/messageChannel/CustomChannelOne", "path": "./__mocks__/@salesforce/messageChannel/CustomChannelOne.js" }, {...
**Is your feature request related to a problem? Please describe.** Manually defining schema imports for each field is a PITA. ```json "modules": [ { "name": "@salesforce/schema/Account.Id", "path": "./__mocks__/@salesforce/schema/Account.Id.js" }, {...
**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** 1. configure `./__mocks__/@salesforce/apex/MyTestController.js` 2. create `./__mocks__/@salesforce/apex/utils.js` 3. Import method from `utils.js` inside `MyTestController.js` **Expected behavior**...