Component name is mycmp
.
mycmp.html:
<template>
dfdsdf
</template>
mycmp.js:
import { LightningElement } from 'lwc';
export default class Mycmp extends LightningElement {}
mycmp.js-meta.xml:
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>45.0</apiVersion>
<isExposed>true</isExposed>
<masterLabel>mycmp lbl</masterLabel>
<targets>
<target>lightning__AppPage</target>
<target>lightning__RecordPage</target>
<target>lightning__HomePage</target>
</targets>
</LightningComponentBundle>
I have deployed the component to my developer org. But it is missing in App Builder for App Page.
I have met the issue during completion of trailhead Use Lightning Data Service to Work with Data
Updated Jun 5, 2020: List of components from Setup -> Lightning Components:
Select Id,Source,FilePath from LightningComponentResource
from Tooling API returns the same code.