Lightning Web Component
Folder Directory: lwc
File Name: lwc-button
16:53:21.326 sfdx force:lightning:component:create --type lwc --componentname lwc-button --outputdir force-app/main/default/lwc
ERROR running force:lightning:component:create: Name must contain only alphanumeric characters.
16:53:23.211 sfdx force:lightning:component:create --type lwc --componentname lwc-button --outputdir force-app/main/default/lwc ended with exit code 1
.js-meta.xml file contains information about connected web components.
<masterLabel>Name of the LWC shown in App Builder page</masterLabel>
<description>Description about this LWC</description>
.js-meta.xml file contains information where this lightning web component can be inserted.
<target>
<target>lightning__RecordPage</target>
<target>lightning__AppPage</target>
<target>lightning__HomePage</target>
</target>
Each js file contains two controller logics for components.