SmallRuralDog / web3modal-vue

A single Web3 / Ethereum provider solution for all Wallets
https://smallruraldog.github.io/web3modal-vue/
MIT License
109 stars 68 forks source link

torus problem #4

Open kolirt opened 3 years ago

kolirt commented 3 years ago

hi. can you help me to fix this?

image

brackmayhall commented 3 years ago

I am seeing similar issues with torus

kolirt commented 3 years ago

I am seeing similar issues with torus

if you use nuxt in nuxt.config.js add the following. it helped me for nuxt

build: { transpile: ['web3modal-vue'], }

brackmayhall commented 3 years ago

I am not using nuxt unfortunately

juloxrox commented 3 years ago

Hello @kolirt, I'm strugglling using it with nuxt I got this error on load "window is not defined" in "node_modules/web3modal-vue/src/helpers/utils.js". I just created a simple vue fiel with the first snippet and put the other snippet as it is in store/index.js Can you help please?

artyomLisovskij commented 3 years ago

vue.config.js

 ...
  transpileDependencies: [
    'web3modal-vue'
  ]
}
yankunsam commented 3 years ago

vue.config.js

 ...
  transpileDependencies: [
    'web3modal-vue'
  ]
}

not work.

mstrleon commented 2 years ago

transpileDependencies: ["vuetify", "web3modal-vue"],

this worked for me

superjiangs commented 1 year ago
image

I have the same problem