Closed
Description
Version
3.2.6
Reproduction link
Steps to reproduce
Call defineProps in a script setup SFC file in a scope that is not at the top level.
What is expected?
defineProps should be compiled to __props
What is actually happening?
defineProps is called at runtime causing a ReferenceError
Implementation like the repo example is useful when defining a component with generic props
Metadata
Metadata
Assignees
Labels
No labels