You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error when add a story for my functional component. The component written in Vue SFC and export a render function.
No suitable component definition found on "D:/Coding/JavaScript/vue3-vite/default-js/src/stories/Button.vue"
18:23:08 [vite] Internal server error: No suitable component definition found on "D:/Coding/JavaScript/vue3-vite/default-js/src/stories/Button.vue"
Plugin: storybook:vue-docgen-plugin
File: D:/Coding/JavaScript/vue3-vite/default-js/src/stories/Button.vue
at <anonymous> (d:\Coding\JavaScript\vue3-vite\default-js\node_modules\.pnpm\vue-docgen-api@4.64.1_vue@3.2.47\node_modules\vue-docgen-api\dist\parse-script.js:67:23)
at Generator.next (<anonymous>)
at fulfilled (d:\Coding\JavaScript\vue3-vite\default-js\node_modules\.pnpm\vue-docgen-api@4.64.1_vue@3.2.47\node_modules\vue-docgen-api\dist\parse-script.js:28:58)
<!-- Button.vue --><script>import { h } from"vue";exportdefaultfunctionButton() {returnh("button");}</script><style>/* ... */</style>
@pokkur Do you know if it's possible to disable vue-docgen-plugin for one specific .stories file? I'd like to keep the automatically generated docs for all my other components where this bug doesn't occur.
Describe the bug
I get an error when add a story for my functional component. The component written in Vue SFC and export a render function.
To Reproduce
https://github.com/Kaciras/sb-issue
System
Additional context
No response
The text was updated successfully, but these errors were encountered: