Building a basic standalone Lightning page
Before we dive into the more complex components, let’s first create a simple page that shows a basic Lightning Web Component. This will allow us to better understand the architecture of Lightning. Think of a Lightning page as a container for your UI, essentially your HTML markup. Containers are effectively things you can navigate to in the browser; they get their own URL based on the name that you give them.
As we will explore later in the chapter, Lightning Experience, Lightning Out, Salesforce Mobile, Lightning Communities, and Lightning Flow are also containers built by Salesforce in the same way as the example that follows. Note that the basic container used in the following example is using the Aura framework, but as a container only for Lightning Components, this is appropriate according to Salesforce recommendation for this use case. In other cases, Aura should not be used when you can use Lightning Web Components...