-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Hi,
I tried using svelte-awesome in a SvelteKit project
<script>
import Icon from 'svelte-awesome';
import { beer } from 'svelte-awesome/icons';
</script>
<Icon data={beer} />
and get the following errors
Failed to fetch dynamically imported module: http://localhost:3000/src/routes/index.svelte
TypeError: Failed to fetch dynamically imported module: http://localhost:3000/src/routes/index.svelte
Uncaught (in promise) TypeError: Failed to fetch
index.js:556 GET http://localhost:3000/node_modules/svelte-awesome/icons/buysellads.js?v=4e79ebf0 net::ERR_FAILED
I tried
import Icon from 'svelte-awesome/components/Icon.svelte'
but it didnt work either....
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels