How Make a new Tab for LWC Lightining Web Component in Salesforce?
Base Lightning components are available as Aura components and as Lightning web components. The Component Reference includes documentation, specifications, and examples for both. See Base Components: Aura Vs Lightning Web Components for differences between them.
In this note we see how to insert a tab inside our org, which allows us to access a LWC
-meta.xmlfile from your LWC component
- Change is exposed to True:
- Open Tab from setup and under Lightning Component Tabs press New and select your LWC component.
Your file xml at the end should look like this:
<?xml version="1.0" encoding="UTF-8"?> <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata"> <apiVersion>47.0</apiVersion> <isExposed>true</isExposed> <targets> <target>lightning__Tab</target> </targets> </LightningComponentBundle>
if you liked this note, and are interested in sharing insights with me, I would be very happy and ask you to write to me. In the subject of the email please write “Picchiri.com review content Make a new Tab for LWC Lightining Web Component in Salesforce”