Lifecycle Hook 'beforeMount' Example

Using the 'beforeMount' and 'mounted' lifecycle hooks to demonstrate that the component's DOM elements are not available until the 'mounted' hook.

beforeMount: {}

mounted: { "pEl": "[object HTMLParagraphElement]" }