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?
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 thescript
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?