vuejs/rfcs

how to use toRefs in tag <script setup>

WalkAlone0325 opened this issue · 1 comments

how to use toRefs in tag <script setup>
i want to use toRefs in reactive,I didn't find issues.

antfu commented

You can use it just like you would do in a normal js module. https://v3.vuejs.org/api/refs-api.html#torefs

Please utilize StackOverflow or Discord server to ask questions. Thanks.