Vue.js 3: Calling a parent method from a child component

You can easily call a parent method from a child component using the ‘defineEmits` macro.