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

Props renaming doesn't work in setup #161

Closed
sheremet-va opened this issue Apr 26, 2021 · 3 comments
Closed

Props renaming doesn't work in setup #161

sheremet-va opened this issue Apr 26, 2021 · 3 comments
Labels

Comments

@sheremet-va
Copy link

Renaming props (when you rename them inside props declaration in defineComponent or defineProps) doesn't rename them inside setup function or inside script setup, but renames them everywhere else, including templates.

@johnsoncodehk
Copy link
Member

This is upstream problem, and should be fix in next vue version. See: vuejs/core#3656

@sheremet-va
Copy link
Author

I see! Thank you, waiting for the next release then!

@johnsoncodehk
Copy link
Member

Close because not handle in this repo, thanks. :)

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

No branches or pull requests

2 participants