We're experiencing a type mismatch issue for the ref function between our main app and a library after upgrading to Nuxt 3.13. This wasn't an issue in Nuxt 3.12.
Main App: - Vue 3 (v3.4.38) - Nuxt 3 (v3.13)
Library: - Vue 3 (same version as main app)
In the main app: -
ref
ref
is auto-imported - Type is resolved from
/node_modules/@vue/runtime-core/.../dist
/node_modules/@vue/runtime-core/.../dist
In the library: -
ref
ref
is explicitly imported Type is resolved from
/node_module/@vue/reactivity/dist
/node_module/@vue/reactivity/dist
Result: - Getting a type error: type Ref doesn't match type Ref