Introducing of Lightning Web Component
Now, you can build Lightning Components using two programming models:
What is Lightning Web Component or LWC?
Power of LWC:
In Lightning web Components, you can use Lightning Design System or Custom Css.
You can add components to Aura Component, Aura App and Lightning Web Component.
Let’s see how to Create Lightning Web Component
Step 1) Setup Salesforce Dx in VSCode
Step 2) Upgrade to Pre-release Org
sfdx plugins:install salesforcedx@pre-release
Step 3) Create SalesforceDX Project
Press “CTRL+SHIFT+P” and then enter “SFDX:Authorize an Org”.
Step 4) Finally, Create your first Lightning Web Component.
Step 5) Now, Lightning Web Component created. Let’s see how to use Lightning Web Component.
Step 6) Finally, deploy your component into Developer Org.
Step 7) Go to your Developer Org.
Note: Domain is enabled in your Org. Else Custom Component will not be visible in your Org.
Here is your first Lightning Web Component.
Quick Start: Lightning Web Components
Salesforce Developer Guide: Introducing Lightning Web Components
Salesforce Developer Guide: Create Lightning Web Components
If you're ready to find out more about how SimplusLabs can help energize your workers, your customers, and your business with a different experience, let's talk.