-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Description
Version
3.0.1
Reproduction link
https://codesandbox.io/s/dreamy-khayyam-m06w1?file=/src/App.vue
Steps to reproduce
<foo @my-event-name="callEvent" />
this.$emit('my-event-name') // `callEvent` not triggered
What is expected?
The doc recommends using kebab case for event names, but #2278 breaks this.
https://v3.vuejs.org/guide/component-custom-events.html#event-names
What is actually happening?
After #2278 got merged, my code shown above won't work.
(You might want to write some tests before merge. Thanks!)
Metadata
Metadata
Assignees
Labels
No labels