You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In development mode, inline template is disabled. Simply replace $setup with _ctx._.setupState.__v_raw.
In production mode, there's no $setup. The Vue compiler attaches unref() or .value directly. I'm unsure about this situation unless we analyze all variables in <script setup> like the Vue compiler does.
Clear and concise description of the problem
Prevent auto-unwrap refs in
<template>
https://vuejs.org/guide/essentials/reactivity-fundamentals.html#caveat-when-unwrapping-in-templates
Suggested solution
In development mode, inline template is disabled. Simply replace
$setup
with_ctx._.setupState.__v_raw
.In production mode, there's no
$setup
. The Vue compiler attachesunref()
or.value
directly. I'm unsure about this situation unless we analyze all variables in<script setup>
like the Vue compiler does.Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: