-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
BUG: vue-component-meta not running correctly #29494
Comments
@hinogi Could you provide more context here, I'm not following. cc @larsrickert |
the plugin is added without an enforce and will be executed in the wrong place so the result gets overwritten by other post actions. This results in autodoc not getting any metadata so the autodocs will be pretty empty and there will be no categories for props, emits and so on because there is no meta data. |
#28817 this could also be a reference |
Had the same issue. No data whatsoever from Ended up removing it and going with the default docgen. |
Well there is a workaround |
@yannbf Did you refactor this possibly? Otherwise maybe @larsrickert has a clue here. |
@kasperpeulen For my tests it works fine, so it might be a setup issue. @hinogi Could you please create a minimal reproduction example? E.g. with stackblitz |
https://stackblitz.com/edit/github-vvhzfkqd?file=.storybook%2Fmain.ts I hope that works |
it seems that
enforce: 'post'
is missing in the plugin configuration. Otherwise there will be no result.storybook/code/frameworks/vue3-vite/src/plugins/vue-component-meta.ts
Line 36 in e94dc92
The text was updated successfully, but these errors were encountered: