Notes
Every component is part of a namespace.
To reference your own components, always code with the default namespace, c. Use c regardless of where the code is running: in an org with or without a namespace, in a managed or unmanaged package.
Within an HTML template, to reference a component in the lightning namespace, use <lightning-component>. The hyphen character (-) separates the namespace from the component name.
This component references lightning-card
, which is a base Lightning component in the lightning namespace. It also references c-contact-tile
, which is a custom component in the same project.
Namespace Considerations
Consider these guideslines when you're working with a namespace.
A custom Lightning web component can't access a Lightning web component or module in a custom namespace.
It can access Lightning web components and modules only in the c and lightning namespaces.
A custom Lightning web component and a custom Aura component in the same namespace can't have the same name.
Video
Video does not exists.