-
Set up your environment. Follow the steps in the Quick Start: Lightning Web Components Trailhead project. The steps include:
- Enable Dev Hub in your Trailhead Playground
- Install Salesforce CLI
- Install Visual Studio Code
- Install the Visual Studio Code Salesforce extensions, including the Lightning Web Components extension
-
If you haven't already done so, authorize your hub org and provide it with an alias (myDevOrg in the command below):
sfdx force:auth:web:login -d -a myDevOrg -
Clone the Understanding-Lightning-Web-Component repository:
git clone https://github.com/Daniel-Deepak-Dev/Understanding-Lightning-Web-Component cd Understanding-Lightning-Web-Component -
Push the app to your scratch org:
sfdx force:source:deploy -
Assign the my lwc permission set to the default user:
sfdx force:user:permset:assign -n mylwc
Daniel-Deepak-Dev/Understanding-Lightning-Web-Component
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|