maz-ui icon indicating copy to clipboard operation
maz-ui copied to clipboard

[Issue][<Use Components in custom library with vue 3 TS and Vite>]

Open denisibanez opened this issue 1 year ago • 2 comments

Describe the bug

I have a library built with Vue 3 and Vite, using TS, I use Quasar and other third-party libraries without problems.

However, when using your library, with the MazPhoneNumberInput component imported in a wrapper component, when I build my library I receive the error below.

Screenshots

Captura de Tela 2024-06-18 às 17 22 40

denisibanez avatar Jun 18 '24 16:06 denisibanez

If I try to import this component globally, it just doesn't find it

denisibanez avatar Jun 18 '24 16:06 denisibanez

Hi @denisibanez,

Can you share the code where you implement the component or a reproduction link with stackblitz?

You can use this base: https://stackblitz.com/edit/maz-ui-vue3-phonenumber

LouisMazel avatar Jun 18 '24 16:06 LouisMazel