Can't use the modal SDK

I was use the no-modal SDK to our project built by vue3, It’s all well at now.
I want to change it to modal SDK to our project right now, but when I just install the package ‘@web3auth/modal’ use npm and import it to my vue project, It failed when I run the project , It shows the errors like the pic below:


It can work when I comment the second line here:

@donut33.social Thanks for your recent post.

Your request has been forwarded to our team and we will get back to you with further updates.

@donut33.social You can use our Integration builder Integration Builder | Web3Auth and preview the same.

I will also link our Vue Example for modal SDK that you can refer to guide your code.

Thank you for your reply. But I use vite to build my project. And when I run your demo Vue example, It shows react issue like this:

Please share your pacakage.json as it looks like some dependencies are missing.

Could you refer to this troubleshooting guide for Vite Bundler Polyfill Issues - Vite | Documentation | Web3Auth

@donut33.social Did you see my previous message?

@donut33.social Can you share your Github repo if you are still facing issues so we can check?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.