In Vue we use emit to send data from a child component to its parent via events. Let's look at how it works....