How to document a script setup component with JSDoc? #2383
Unanswered
rodrigocfd
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can use JSDoc to document a function:
...and when I hover this function in VSCode, it shows the description nicely.
Now suppose I have a simple
script setup
component:How can I document this component with JSDoc, so that Volar displays the description in VSCode, just like the
doSomething
function above?Beta Was this translation helpful? Give feedback.
All reactions