storybook-nuxt
storybook-nuxt copied to clipboard
Library not compatible with @nuxt/ui
Hi,
I'm trying to create a design system with the library https://ui.nuxt.com/
When I use a simple Button component I got this error : NuxtLink is not defined.
Here you can find a reproduction on stackblitz : https://stackblitz.com/edit/github-k8s9tq-k6b6cz?file=stories%2FMyButton.stories.ts
Moreover, I tried to create a simple component with only a <NuxtLink></NuxtLink> , and I got an error : Error: [nuxt] instance unavailable
hi @zola33dsf can check now. i believe only new versions of @nuxt/ui not working. 0.4.2 works fine check this https://github.com/storybook-vue/nuxt-storybook-module-demo
Hi, thanks for you feedback! However I think your not using the right library because if you look to the version history, there is no version 0.4.2 : https://www.npmjs.com/package/@nuxt/ui?activeTab=versions
Hi, thanks for you feedback! However I think your not using the right library because if you look to the version history, there is no version 0.4.2 : https://www.npmjs.com/package/@nuxt/ui?activeTab=versions
I think he is talking about @nuxt/ui-pro
but unfortunately I am unable to make any version of @nuxt/ui or @nuxt/ui-pro to work with storybook.
😢
It's still not working and probably very related to https://github.com/storybook-vue/storybook-nuxt/issues/83