Connect2IC / connect2ic

https://connect2ic.github.io/docs/
MIT License
92 stars 19 forks source link

Module '"@connect2ic/svelte"' has no exported member XXX #16

Open dubecker opened 2 years ago

dubecker commented 2 years ago

Hi, I'm getting errors when I want to import any components from @connect2ic/svelte.

When I run import {ConnectButton, ConnectDialog} from '@connect2ic/svelte';, I receive the two errors Module '"@connect2ic/svelte"' has no exported member 'ConnectButton' and Module '"@connect2ic/svelte"' has no exported member 'ConnectDialog'.

I'm simply running the description in the Getting Started part in your docs (https://connect2ic.github.io/docs/docs/Svelte/quick_start_svelte).

What could be the issue here?

MioQuispe commented 2 years ago

Hi, I'm getting errors when I want to import any components from @connect2ic/svelte.

When I run import {ConnectButton, ConnectDialog} from '@connect2ic/svelte';, I receive the two errors Module '"@connect2ic/svelte"' has no exported member 'ConnectButton' and Module '"@connect2ic/svelte"' has no exported member 'ConnectDialog'.

I'm simply running the description in the Getting Started part in your docs (https://connect2ic.github.io/docs/docs/Svelte/quick_start_svelte).

What could be the issue here?

Hey thats strange. Let me double check. Are you using webpack by any chance?

dubecker commented 2 years ago

No, not using webpack. I'm using vite.

MioQuispe commented 2 years ago

No, not using webpack. I'm using vite.

Can you try latest 0.1.0 and see if it works? I managed to run it myself.