+ Start a Discussion

LWC naming convention - underscores in name??

I created a LWC with the sample name abcThing_Base and I'm trying to use it in another component like c-abc-thing_base, but it's giving me the error LWC1010: Failed to resolve entry for module. I guess I could make anew component without the underscore, but I like underscores and would like to know how this is supposed to work, if it's supported. Thank you
ANUTEJANUTEJ (Salesforce Developers) 
Hi Textual,

I searched for the error and I see that there are others that are getting the same error can you check the below link once:

>> https://developer.salesforce.com/forums/?id=9062I000000IKFZQA4

In the above link I see that the error is being caused even though the _ is not present, can you try cheking this.

Orlando Gonzalez 8Orlando Gonzalez 8
In cace this is still needed: that component would need to be <c-abc-thing-_-base></c-abc-thing-_-base>