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

web3modal-vue3 does not provide an export named 'default' #10

Open ascweb opened 2 years ago

ascweb commented 2 years ago

I installed web3modal-vue3 and I imported it for a test in an empty component but i for the error

Uncaught SyntaxError: The requested module '/node_modules/.vite/web3modal-vue3.js?v=23937ab0' does not provide an export named 'default'

Can you help me to fix it?

romain130492 commented 2 years ago

its for vue2 not 3 i believe,

AVargas89 commented 2 years ago

Try: import { Web3ModalComponent } from "web3modal-vue3"; instead

tinysunowner commented 2 years ago

I installed web3modal-vue3 and I imported it for a test in an empty component but i for the error

Uncaught SyntaxError: The requested module '/node_modules/.vite/web3modal-vue3.js?v=23937ab0' does not provide an export named 'default'

Can you help me to fix it?

Have you solved this issue?

kolirt commented 9 months ago

I installed web3modal-vue3 and I imported it for a test in an empty component but i for the error

Uncaught SyntaxError: The requested module '/node_modules/.vite/web3modal-vue3.js?v=23937ab0' does not provide an export named 'default'

Can you help me to fix it?

Have you solved this issue?

try yo use this package https://github.com/kolirt/vue-web3-auth for vue3