Astro + Svelte #334
Replies: 1 comment
-
Digging around in the different examples provided. I found that adding: "compilerOptions": {
"types": [
"unplugin-icons/types/svelte"
]
} To the tsconfig.json file does the trick. Will close this as the main issue was resolved now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Anyone has a guide or know what would be the correct way to install and setup unplugin-icons with tabler-icons in an Astro project that uses Svelte integration?
I tried:
And while it works, Typescript isn't happy when I import an icon with:
In my component.
Not sure what I should do to fix this.
Beta Was this translation helpful? Give feedback.
All reactions