storybook-nuxt icon indicating copy to clipboard operation
storybook-nuxt copied to clipboard

Library not compatible with @nuxt/ui

Open zola33dsf opened this issue 2 years ago • 5 comments

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

zola33dsf avatar Sep 14 '23 08:09 zola33dsf

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

chakAs3 avatar Oct 07 '23 12:10 chakAs3

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

zola33dsf avatar Oct 09 '23 07:10 zola33dsf

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.

😢

TiBianMod avatar Nov 23 '23 02:11 TiBianMod

It's still not working and probably very related to https://github.com/storybook-vue/storybook-nuxt/issues/83

itslewin avatar Feb 08 '24 14:02 itslewin