Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library not compatible with @nuxt/ui #62

Open
zola33dsf opened this issue Sep 14, 2023 · 5 comments
Open

Library not compatible with @nuxt/ui #62

zola33dsf opened this issue Sep 14, 2023 · 5 comments

Comments

@zola33dsf
Copy link

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 , and I got an error : Error: [nuxt] instance unavailable

@stackblitz
Copy link

stackblitz bot commented Sep 14, 2023

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@chakAs3
Copy link
Contributor

chakAs3 commented Oct 7, 2023

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

@zola33dsf
Copy link
Author

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

@TiBianMod
Copy link

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.

😢

@itslewin
Copy link

itslewin commented Feb 8, 2024

It's still not working and probably very related to #83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants