themesberg/flowbite-svelte-icons

Unable to import icons

stevorr opened this issue · 1 comments

When adding import { AddressCardSolid } from 'flowbite-svelte-icons'; to a svelte component, Chrome console gives me the following error:

SyntaxError: The requested module '/node_modules/.vite/deps/flowbite-svelte-icons.js?v=4be41f1c' does not provide an export named 'AddressCardSolid' (at HomescreenSidebar.svelte:6:11)

Using this approach works import AddressCardSolid from 'flowbite-svelte-icons/AddressCardSolid.svelte'; however.

flowbiteiconserror1

my devDependencies
flowbiteiconserror2

Tailwind config
flowbiteiconserror

Deleting node_modules and pnpm-lock.yaml and running pnpm i as suggested in issue #14 fixed this issue