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

Nuxt UI <ULink> generates an error #702

Open
6 tasks done
davbtmx opened this issue Mar 24, 2024 · 1 comment
Open
6 tasks done

Nuxt UI <ULink> generates an error #702

davbtmx opened this issue Mar 24, 2024 · 1 comment
Labels
to triage This issue needs to be triaged

Comments

@davbtmx
Copy link

davbtmx commented Mar 24, 2024

Describe the bug

When using <ULink> (link component from Nuxt UI) the following error occurs:
Uncaught (in promise) TypeError: (destructured parameter) is undefined

Documentation for ULink:
https://ui.nuxt.com/components/link

The reproduction link is a Nuxt project with Nuxt UI and Histoire configured.
A story was created with 3 variants : one with <a href>, one with <NuxtLink>, and one with <ULink> that is not rendered because of the error you can see in the inspector.
Just run npm run story:dev to see this story.

Reproduction

https://stackblitz.com/edit/nuxt-ui-erhpts?file=components%2FLink.story.vue

System Info

System:
    OS: macOS 12.7.3
    Memory: 591.05 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
    npm: 10.4.0 - ~/.nvm/versions/node/v20.11.1/bin/npm
    pnpm: 8.15.3 - ~/.nvm/versions/node/v20.11.1/bin/pnpm
  Browsers:
    Brave Browser: 122.1.63.174
    Chrome: 123.0.6312.58
    Safari: 17.4
  npmPackages:
    @histoire/plugin-nuxt: ^0.17.14 => 0.17.14 
    @histoire/plugin-vue: ^0.17.14 => 0.17.14 
    histoire: ^0.17.14 => 0.17.14

Used Package Manager

npm

Validations

@davbtmx davbtmx added the to triage This issue needs to be triaged label Mar 24, 2024
Copy link

stackblitz bot commented Mar 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant