You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use unplugion-icons with Webpack through Storybook (Storybook, Svelte and Vite don't play well together yet) but I can not get the plugin to work with webpack and svelte for the life of me.
Storybook, Svelte and Vite don't play well together yet
After a lot of research I actually got Storybook working with Svelte and Vite. Using Iconify Svelte components actually works, but unplugin-icons only works in sveltekit.
I think it has similar loading problems though: import IconAccountBox from 'virtual:icons/mdi/bell.svelte'; yields the error ENOENT: no such file or directory, open '~icons\mdi\bell.svelte'
Trying to use unplugion-icons with Webpack through Storybook (Storybook, Svelte and Vite don't play well together yet) but I can not get the plugin to work with webpack and svelte for the life of me.
Svelte component
Story
Relevant lines of the webpack config (inside Storybook's
main.js
)Error log
The text was updated successfully, but these errors were encountered: