Skip to content

Instantly share code, notes, and snippets.

@vyuvalv
Created December 8, 2019 12:16
Show Gist options
  • Save vyuvalv/bfaf925f090f6bdf15c3d29e314cc08d to your computer and use it in GitHub Desktop.
Save vyuvalv/bfaf925f090f6bdf15c3d29e314cc08d to your computer and use it in GitHub Desktop.
Aura => LWC Design Attributes Migration
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>47.0</apiVersion>
<isExposed>true</isExposed>
<masterLabel> The Name of the component in builder </masterLabel>
<description> *** Some Description *** </description>
<targets> // ALL Interaces
<target>lightning__RecordPage</target>
<target>lightning__AppPage</target>
<target>lightning__HomePage</target>
<target>lightningCommunity__Page</target>
<target>lightningCommunity__Default</target>
</targets>
<targetConfigs>
<targetConfig targets="lightning__HomePage,lightning__RecordPage,lightningCommunity__Default">
// Destign attributes
<property name="isAdmin" type="Boolean" label="Admin Use" description="Admins are awesome"/>
</targetConfig>
</targetConfigs>
</LightningComponentBundle>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment