devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Don't shows component events vith Vue 2.7.8 and script setup

Open alex-lit opened this issue 2 years ago • 1 comments

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.

alex-lit avatar Aug 12 '22 13:08 alex-lit

It's fixed already, they haven't done a release yet.

designgears avatar Aug 25 '22 16:08 designgears