Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
odex21 opened this issue Jul 5, 2021 · 0 comments

Comments

@odex21
Copy link

odex21 commented Jul 5, 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants