Coding task · Vue.js course · Module 7: Props & Events

Practice: Custom events

Send an acknowledgment signal like a response from Mars to Earth.

Task

Create a component that emits a 'signal-received' event with a payload when a button is clicked.