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
I added @nuxt/icon to my project. In the project it is working fine but in histoire it is not working.
In histoire it is not able to render the stories that contain components that use @nuxt/icon.
On devtools console you always see the error:
it doesn't matter if mode is css or svg, it doesn't matter if from iconify icon libs, global components or custom collections, it is simple not able to work with it. The error is always the same.
You can install [email protected] instead of @nuxt/icon and update the modules in nuxt.config.ts.
It seems like @nuxt/icon doesn't work with Histoire since version 1.0.0.
@xiaosasori thanks for the workaround. Do you know if custom collections were already working in 0.6.10 with same syntax? cause i don't get it running with 0.6.10
Describe the bug
I added @nuxt/icon to my project. In the project it is working fine but in histoire it is not working.
In histoire it is not able to render the stories that contain components that use @nuxt/icon.
On devtools console you always see the error:
it doesn't matter if mode is css or svg, it doesn't matter if from iconify icon libs, global components or custom collections, it is simple not able to work with it. The error is always the same.
Reproduction
https://stackblitz.com/edit/nuxt-starter-kckxy8
run the histoire to see the story not getting rendered and the console error in devtools.
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: