Joaquín Sánchez

Results 1398 comments of Joaquín Sánchez

It seems we need to patch or use another plugin, the plugin being called but storybook maybe adding some vite plugin to transform vue files.

it is being called in the build, it works, the imports are there, but storybook calling again with raw vue file: ![imagen](https://github.com/userquin/vuetify-nuxt-module/assets/6311119/d443a42e-5f1a-4042-a0ab-e99c61ffdd37)

In build: ![imagen](https://github.com/userquin/vuetify-nuxt-module/assets/6311119/98249494-0967-4422-8e8b-96b3d3749922)

![imagen](https://github.com/userquin/vuetify-nuxt-module/assets/6311119/59daab28-6317-4804-982e-e6b548850be2)

why building to request raw file?

ok, found the problem: https://github.com/storybook-vue/storybook-nuxt/blob/main/packages/storybook-nuxt/src/preset.ts#L95C26-L97 calling with raw vue file since it is moving all plugins before vue

No, it is better to use an object notation for the transform hook using enforce/order 'post': I'm testing in my local... EDIT: cannot use object notation (it is not `transformIndexHtml`),...

![imagen](https://github.com/userquin/vuetify-nuxt-module/assets/6311119/ca141ce0-05e0-412a-9afa-a6585b8bc829)

adding `enforce: 'post'`: ![imagen](https://github.com/userquin/vuetify-nuxt-module/assets/6311119/58bc7fdd-cadb-47f4-bb2d-51822c386d65)

I'm going to update the repo to `^7.6.7` :fingers_crossed: