Until now, we have only been working with one component: the root component. In this lesson, we will show you how to create and use child components.
Open the APP instance object, you will find a method named component. This method is what we use to declare global components. Global components are visible in the root component and other child components.