nuxt-modules / storybook

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

fix: fix order of vite vue plugin #631

Closed tobiasdiez closed 4 weeks ago

tobiasdiez commented 4 weeks ago

@vitejs/plugin-vue should be the first registered user plugin so that it will be added directly after Vite's core plugins and transforms global vue compoments before nuxt:components:imports. The transform stack order can be reviewed with the vite-plugin-inspect plugin.

This fixes the use of global components in projects or modules. Fixes https://github.com/storybook-vue/storybook-nuxt/issues/4.

netlify[bot] commented 4 weeks ago

Deploy request for nuxt-storybook pending review.

Visit the deploys page to approve it

Name Link
Latest commit cd8c574921699fd7c8aa8ac43c8feda83f1ac3fa
Ibochkarev commented 4 weeks ago

@tobiasdiez How can you test these changes?

itslewin commented 3 weeks ago

@chakAs3 Please release a new version, there are so many essential bug fixes included by now