[英]How do I get refs and computed vars to show up in Vue Devtools when using the Composition API and the Script Setup syntax?
我的一個組件中有許多變量,在data() function 或computed: {}部分使用 Vue 的選項 API(我更熟悉)時,這些變量將是 go,但此組件使用的是組合 API 和<script setup>語法,我沒有看到變量出現在 Vue Devtools 中,盡管 prop ...