Subscribe on changes!

defineProps returns undefined when there is a prop and variant with the same name

avatar
Jul 5th 2021

Version

3.1.4

Reproduction link

Reproduction link

Steps to reproduce

F12 and check the log

What is expected?

log the props

What is actually happening?

log undefined


Common variants work fine.

I think it is better to throw a error or warning