Subscribe on changes!

Why v-model:kebab-case compile different result on Vue SFC Playground and Vue SFC Playground ?

avatar
Nov 4th 2022

Vue version

3.2.41

Link to minimal reproduction

https://codesandbox.io/s/v-model-camelcase-or-kebab-case-forked-ehozbw?file=/src/App.vue

Steps to reproduce

open link

What is expected?

compile the same result, and @update:foo-bar event can work

What is actually happening?

Codesandbox image

Vue SFC Playground image

System Info

No response

Any additional comments?

No response