variables declaration after `defineProps` is ignored
Vue version
3.2.45
Link to minimal reproduction
Steps to reproduce
- HALLO should be shown after "world"
If you move defineProps
after test, "HALLO" should be visible.
const test = "HALLO", {hello} = defineProps(['hello'])
Seems like the compiler is ignoring any declaration after defineProps
What is expected?
HALLO should be shown after "world"
What is actually happening?
HALLO is not shown
System Info
No response
Any additional comments?
original issue : nuxt nuxt/nuxt.js#12497 No response