My Domain with Lightning Components
|Knowledge Article Number||000214270|
|Description||Lightning components now work if you use custom domains with My Domain.
See Use My Domain with Lightning Components for more information
For security purposes, Lightning Components require you to define a custom Salesforce domain name for your organization. Setting up a new domain is simple and easy but it takes a few minutes before it’s available for use. When you enable My Domain, references and links to Lightning resources are in the format https://<myDomain>.lightning.force.com.