Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Vue.js Components Fundamentals

Communication Between Components

We know how to pass data to a child component through props. In this lesson, we'll learn how to communicate from a child to a parent component through custom events.

We will use a custom event to notify the plan-picker of which plan has been selected, and make sure we have the right logic in place so the user can only select one plan at a time.