nuxt-modules / storybook

Storybook integration with Nuxt.
https://storybook.nuxtjs.org
378 stars 82 forks source link

Support type extraction with vue-component-meta #643

Closed mehcode closed 1 week ago

mehcode commented 2 weeks ago

https://storybook.js.org/docs/get-started/vue3-vite#using-vue-component-meta

tobiasdiez commented 2 weeks ago

What exactly are you missing? You can change your config as described in the link if you want to use vue-component-meta.

mehcode commented 1 week ago

I dug into this one today. This is fixed (and has been for a couple weeks) on main with https://github.com/nuxt-modules/storybook/commit/81cb14055f8a93424acce9b1013fc957060fb096

The part that makes this work for my setup is the move from plugins.push to plugins.unshift

However the most recent releases of @nuxtjs/storybook did not also release @storybook-vue/nuxt that includes this fix.

mehcode commented 1 week ago

@chakAs3 Can we please get a new release of @storybook-vue/nuxt (and another patch release of @nuxtjs/storybook to reference it) 🙏

tobiasdiez commented 1 week ago

I dug into this one today. This is fixed (and has been for a couple weeks) on main with 81cb140

Awesome to hear! Thanks for investigating this further.