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

Vue components meta rendering issue #756

Open
maximilian-schwarz opened this issue Aug 16, 2024 · 0 comments · May be fixed by #740
Open

Vue components meta rendering issue #756

maximilian-schwarz opened this issue Aug 16, 2024 · 0 comments · May be fixed by #740
Labels
type: bug Something isn't working

Comments

@maximilian-schwarz
Copy link

Hello,

I wanted to use the “vue components meta” feature and found that it cannot be used properly via the nuxt-module. Am I doing something wrong in the configuration?

I once created 2 different applications. Once a default Nuxt 3 instance with Storybook 8 and the Storybook-Nuxt module. And once a default Vue 3 instance with Storybook 8.

Both instances have the same “TestLink” component for which the interface is defined in the folder “types/base.d.ts”. Accordingly, the properties are defined in the Vue component with the method defineProps(). So far so good.

However, when I now call Storybook, the property is recognized in the Nuxt 3 instance but the description, values etc. are missing. In the Vue 3 instance, however, everything is rendered as it should be. Is this a bug in the Nuxt 3 module or simply a faulty configuration?

Reproduction Nuxt 3 | Storybook 8 | Vue components meta
vue-components-meta-nuxt3

https://stackblitz.com/edit/nuxt-starter-6k77lh

Reproduction Vue 3 | Storybook 8 | Vue components meta
vue-components-meta-vue3

https://stackblitz.com/edit/vitejs-vite-pjbm2d

In Reproduction, you can start the DEV server manually via “npm install && npm run storybook”.

@maximilian-schwarz maximilian-schwarz changed the title Vue components meta rendering correct Vue components meta rendering issue Aug 16, 2024
@tobiasdiez tobiasdiez linked a pull request Aug 18, 2024 that will close this issue
@tobiasdiez tobiasdiez added the type: bug Something isn't working label Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants