Insert Emits OptionGet the event name from the emit used in script or template and add it to the emits option as an array.