We can use the LWC component as a tab. All we need to do is,
include "<target>lightning__Tab</target>" tag in ".js-meta.xml" file.
Please see the below syntax:
<?xml version="1.0" encoding="UTF-8"?> <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata"> <apiVersion>50.0</apiVersion> <isExposed>true</isExposed> <targets> <target>lightning__Tab</target> </targets> </LightningComponentBundle>
Comments
Post a Comment