LouisMazel/maz-ui

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

Closed this issue · 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

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

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