lorisleiva / solana-wallets-vue

Solana wallet integration for Vue 3
https://solana-wallets-vue-demo.netlify.app/
173 stars 65 forks source link

Uncaught ReferenceError: global is not defined in Vue3 with vite. #16

Closed toonztudio closed 2 years ago

toonztudio commented 2 years ago

Hi,

I'm trying to use this package but found this error, https://imgur.com/1Ar20wb, even I follow along with your GitHub readme.

Here is my all package, https://imgur.com/QjR29P5. And I use Vite as my building tool. Am i doing something wrong, or is this about packages issue?

toonztudio commented 2 years ago

Hi,

For anyone who gets the same problem as me. You can fix this way, https://github.com/vitejs/vite/issues/2618#issuecomment-820919951

Thanks.