[Nuxt 2 + Typescript] Reactive values are not unwrapped in component's template
DamianGlowala opened this issue · comments
I have installed the module with Nuxt 2 and transformed the whole project to use the new syntax (<script setup lang="ts">
).
Is it the intention that all ref
variables declared within the script
block are intentionally left unwrapped in the component's template (that is, they can be accessed via .value
)? I think either it is a misconfiguration on my side or a possible bug. I'll provide more details once I hear back on whether this is an intended behaviour.
As per below docs snippet, could it be a discrepancy between Vue 2 and Vue 3?
Closing - either seemed to be a temporary issue or impression caused by other accompanying errors. Ref values are correctly unwrapped.