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
Ideally Storybook would understand that defineModel is constructing the props/events for these (example below) and display them in the argTypes automatically. It would be preferred if both the type and JSDoc comment could be understood also.
@shilman I adopted Volar quickly starting from April 2023 because it's the only assurance of staying current with Vue API changes. I've emphasized this point consistently, and if you review the pull request, you'll find comprehensive documentation outlining the desired format for the documentation and supported features
@shilman Yes and no :D I quickly tested it out, with Volar the property will be added but the JSDoc / description and the corresponding event is missing. However, this feature is currently missing in Volar itself.
Describe the bug
Since
defineModel
became stable in Vue 3.4, this is now the recommended approach for usingv-model
.Ideally Storybook would understand that
defineModel
is constructing the props/events for these (example below) and display them in theargTypes
automatically. It would be preferred if both the type and JSDoc comment could be understood also.After 3.4:
Before 3.4:
The text was updated successfully, but these errors were encountered: