Closed simon-kramer closed 1 month ago
Could you please provide a reproduction? In the best case as a PR against this repo adding the Nuxt Icon module as an example similar to https://github.com/nuxt-modules/storybook/commit/b1fdb175a72d5045bfc863056d40b2cac0858b16 (to make sure we don't break it in the future again).
Ok will do it. Thanks for the fast answer, will reach back here as soon as i've opened it.
Closing this issue due to inactivity :zzz: Please reopen the issue with additional information if the problem persists.
Hello again! I got an issue with the integration of the nuxt icon module (iconify) and the storybook nuxt module. If i try to implement the icons there, my component inside the nuxt instance itself works fine, but if i try to display them inside the storybook docs, it fails.
https://nuxt.com/modules/icon
As you can see in the image below, the setup is as following:
The story is set up like this:
The issue handed out by the console is this:
It looks like it couldn't dynamically fetch the icon on runtime, because it has no control over the nuxt instance (from storybook side).
I would appreciate your help!