-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Deprecate Vue Components, props, slots, events ... #2377
Comments
Thank you for adding support for this, what syntax can we use to take advantage of the feature to directly document with This issue was closed and it looks like the appropriate support was added in Neither of these seem to yield any documentation:
|
It doesn't work with <script setup>, for more details refer https://stackoverflow.com/questions/72003493/how-to-use-jsdoc-to-document-a-vue-component-with-script-setup |
I believe this is historically the case, but it appears as though support for this was added or at least unblocked in #3651 two weeks ago, and based on the changelog it looks like that change been released since being merged. |
@serenayl - My bad, I completely missed that this is supported now. I did testing by updating to the latest version (2.019) and it didn't worked for me either. Thank you for pointing it out, eagerly waiting for this functionality. |
A bit related to #2285 but bigger scope
At #VueAmsterdam2023 the idea came up to make it possible to deprecate all the things like a whole component, named slots, emitters and so on via Volar so it will be displayed as
strikethroughin VSCode (and maybe other IDEs)So for example things like that:
It might be that we need to add some new language features to vue/vue-macros to support this
e.g.
The text was updated successfully, but these errors were encountered: