We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yyx990803
Learn more about funding links in repositories.
Report abuse
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
3.5.0-alpha.2
https://play.vuejs.org/#eNqVUk1P4zAQ/SsjX2ilrrvaai/dtBJddaXlAAg4WkImnaQBx7Zsp1Sq8t+ZSQkEBEjc7Hlvvt6bgzj1Xu4aFHORJay90QmXymZ/Xe2hcG6hxKkScKcDvVb0mjI6HVDpG/NQ+QRG25JYKRItYmo8oVXtXUhwLBdcDSdyyh/uefKHSx2TiSomlJo7W1SlvI/O0kgHZQGUyCmhMhgufKqcpfJz6BDGtDHu8ayLpdDgpI/nW8wfPojfxz3HlLgMGDHsUIkXLOlQYjrC6+tz3NP7BazdpjHE/gK8wuhMwzMeaavGbmjsAa+b9n+nSWXLm7jeJ7SxX4oHZWbb8ZUgjVirz1Z/HXcmZ12esi2p2Ov7zlNOyjbVbvnPOapyYHuhbbMpxwbwSocOJn2SJOMHnO8bf4BHnfLtuigwT9A+38Cz+cqS3ZFJNMoEpJTck1gL2GBRWbwMzsesW5gYc4gpkGyUCXyR/Z+2Xo7GXG7QazQaw2IJ3MAZlMaVo36hMXHf3t3tDgO7QIrN5G/584c2fqvlL9E+Ae+UCm8=
Just take a look at Comp.vue
Comp.vue
Output should be:
Foo: A Bar: B
rest doesn't exist in the template (Cannot read properties of undefined (reading 'bar'))
rest
Cannot read properties of undefined (reading 'bar')
But console.log(rest.bar) works in <script setup>
console.log(rest.bar)
<script setup>
No response
The text was updated successfully, but these errors were encountered:
fix(compile-sfc): register props destructure rest id as setup bindings (
b2b5f57
#10888) close #10885
98796f6
vuejs#10888) close vuejs#10885
269b342
Successfully merging a pull request may close this issue.
Vue version
3.5.0-alpha.2
Link to minimal reproduction
https://play.vuejs.org/#eNqVUk1P4zAQ/SsjX2ilrrvaai/dtBJddaXlAAg4WkImnaQBx7Zsp1Sq8t+ZSQkEBEjc7Hlvvt6bgzj1Xu4aFHORJay90QmXymZ/Xe2hcG6hxKkScKcDvVb0mjI6HVDpG/NQ+QRG25JYKRItYmo8oVXtXUhwLBdcDSdyyh/uefKHSx2TiSomlJo7W1SlvI/O0kgHZQGUyCmhMhgufKqcpfJz6BDGtDHu8ayLpdDgpI/nW8wfPojfxz3HlLgMGDHsUIkXLOlQYjrC6+tz3NP7BazdpjHE/gK8wuhMwzMeaavGbmjsAa+b9n+nSWXLm7jeJ7SxX4oHZWbb8ZUgjVirz1Z/HXcmZ12esi2p2Ov7zlNOyjbVbvnPOapyYHuhbbMpxwbwSocOJn2SJOMHnO8bf4BHnfLtuigwT9A+38Cz+cqS3ZFJNMoEpJTck1gL2GBRWbwMzsesW5gYc4gpkGyUCXyR/Z+2Xo7GXG7QazQaw2IJ3MAZlMaVo36hMXHf3t3tDgO7QIrN5G/584c2fqvlL9E+Ae+UCm8=
Steps to reproduce
Just take a look at
Comp.vue
What is expected?
Output should be:
What is actually happening?
rest
doesn't exist in the template (Cannot read properties of undefined (reading 'bar')
)But
console.log(rest.bar)
works in<script setup>
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: