function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PradnethasPradnethas 

I am not able to view LWC in my community

Hi There,

I have a LWC pushed from CLI and when I am trying to add that to community pages it is not showning in the components list.

What would be the possible reasons. I have added isexposed to true in the meta.xml file too, also added required targets for community.

Thanks in advance
Pradeep 
SwethaSwetha (Salesforce Developers) 
HI Pradeep,

Targets define what type of page you want your component to be added to. lightningCommunity__Page allows the component to be shown on a Community Page. Without this tag, your component would not appear in the Community Builder. 
<targets>
    <target>lightningCommunity__Page</target>
</targets>
Reference: https://developer.salesforce.com/blogs/2019/04/lightning-web-components-in-lightning-communities.html
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you