-
-
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
docs not processing jsdocs in non-SFC component #11338
Labels
Comments
OK, it appears I was able to resolve this by changing the webpack config and adding in a rule based on the documentation from https://github.com/pocka/vue-docgen-loader. My main.js now looks like:
Will close this issue. |
This was referenced Dec 15, 2021
This was referenced Jun 2, 2022
This was referenced Sep 25, 2023
This was referenced Nov 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When creating a vanilla render based component (Component.js) instead of a Component.vue, the JSDocs are not being processed by the docs addon.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should output on the Docs tab, the props, events, and other JSDocs supported by the vue-docgen-api and vue-docgen-loader.
Screenshots
Expected output:
Actual Output:
Code snippets
Test.stories.js
Test.js
.storybook/main.js
System:
Environment Info:
System:
OS: Windows 10 10.0.18363
CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Binaries:
Node: 12.17.0 - C:\platforms\nodejs\node.EXE
Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.4 - C:\platforms\nodejs\npm.CMD
Browsers:
Edge: 44.18362.449.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: