-
-
Notifications
You must be signed in to change notification settings - Fork 242
Closed
Description
event listeners shows Not declared for a camelCase emit, this is not correct:
The code is:
App.vue:
<template>
<Child @input-text="console.log('inputText')" />
</template>
<script setup>
import Child from './Child.vue';
</script>Child.vue
<template>
<input @input="emit('inputText')" />
</template>
<script setup>
const emit = defineEmits([
'inputText',
])
</script>Tested using Chrome extension Vue.js devtools, version 7.5.6.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
