Custom Events Passing Data from Child to Parent

Mark as watched? Login


Login to write notes for this video.


Now that we have a nice modern npm and webpack build, let's tackle getting our components to communicate. In Vue, this is done using custom events. We can emit an event on our child component and then listen for that event on our parent event. Follow along as we code a simple example from scratch.