Open
Description
Vue version
3.2.40
Link to minimal reproduction
Steps to reproduce
- Open reproduction
- Click
output count
button
Note that @click="foo()"
is using foo()
. It work well when this is @click="foo"
.
What is expected?
Cannot read properties of undefined (reading 'count')
error happen on dev too. (it happens on prod)
What is actually happening?
0
will be shown in console on dev
System Info
No response
Any additional comments?
original issue: vitejs/vite#3872