devtools
devtools copied to clipboard
Don't shows component events vith Vue 2.7.8 and script setup
Version
6.2.1
Browser and OS info
Chrome 104, Linux Deepin 20.6
Steps to reproduce
<template>
<button @click="emit('fire')">CLick me</button>
</template>
<script setup>
import { defineEmits } from 'vue';
const emit = defineEmits(['fire']);
</script>
What is expected?
Dev tools shows component event 'fire'.
What is actually happening?
Dev tools shows mouse events only.
It's fixed already, they haven't done a release yet.