WangShayne/vue3-signature

Built version does not expose anything by `ref`

Closed this issue · 1 comments

Setup

"vue": "^3.2.33"
"vue3-signature": "0.1.17"
"vite": "^2.9.9"

<vue3-signature
  ref="signature"
  class="signature"
/>
...
const signature = ref(null);

watch(() => signature.value, (newSignature: any, oldValue: any) => {
  console.log('newSignature', newSignature); // => ref(undefined)
});

Should be a build issue, with the component source copied into the project — works as expected.

hi, Alex @lifecoderua
I try it at v0.1.20, there are no reproduction issue. can you try this at 0.1.20 please? thx