Open
Description
When using defineProps
, you have to call it in the form ... = defineProps()
.
Using it like ... = toRefs(defineProps())
generates a misleading mess of runtime errors, with the only relevant one being that "defineProps
is not defined".
Currently, the docs for defineProps
do not mention this at all.
Could a note be added, along with a ESLint rule?