Nested Components in vuejs - Vuejs tutorials - Tutorial 24

Опубликовано: 14 Апрель 2019
на канале: The Digital Sight
3,060
20

[DISCOUNTED] Master CSS Grid Course: https://bit.ly/2NONxxE

Nested Components in vuejs - Nested component is component nested in its parent component. When one component has another component rendered in self. It is called nesting components. The component which has another component in self is called a parent component. Another component which is get rendered in other component is called child component.

This is a simple definition of what is nested components. Any component can have child components. Nesting component can be of any level. The main component can have child component and that child component can have another child component which makes it parent component and so far.

For demonstrating nested components we will take a look at the email module and how it is being called as child component and how it can have another nested components(child components).

We will create a new component and name it Email.vue and we will import it in the main component which is App.vue. Now email app can have multiple parts so we will divide the whole app into components. So, the Email component will have children. So, this whole hierarchy is nesting components. App.vue have Email.vue as child component and Email.vue have Search.vue as a child component.

Thanks For watching.

Follow me:
Twitter:   / jd13400010  


На этой странице сайта вы можете посмотреть видео онлайн Nested Components in vuejs - Vuejs tutorials - Tutorial 24 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь The Digital Sight 14 Апрель 2019, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 3,060 раз и оно понравилось 20 зрителям. Приятного просмотра!