3

I have a Lightning Web Component called simpleTable and another Aura Component which references it.

When I try to use LWC component inside of Aura component like following

<aura:component >
    <c:SimpleTable/> 
</aura:component>

force-app\main\default\aura\SimpleEmployeeList\SimpleEmployeeList.cmp Compilation Failure

/c/SimpleTable/simpleTable.js:0,0 : LWC1010: Failed to resolve entry for module "simpleTable".

4

Looks like LWC references are case-sensitive and they should be referenced in the exact case like following

<aura:component >
    <c:simpleTable/> 
</aura:component>

While if we have Aura component called abc we can reference it in other components or apps as Abc or ABC without any errors, for LWC component this simply doesn't work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.