Hi, I'm trying to setup autodocs for my vue components, however, there are some issues sadly...
The values of props don't appear in the documentation: @values small, medium, large
Neither do the default values using @default small
Also, if the prop has a union type, the documentation only says "union" and doesn't give more specific information.
defineProps<{
/**
* The size of the button.
* @values small, medium, large
* @default small
*/
size?: 'small' | 'medium' | 'large',
(I tried typing it as string too)
Also, I cannot see any information about slot bindings... (this is for another component)
<!-- @slot Custom checkbox element content
@binding { boolean } checked Whether the checkbox is checked or not.
-->
<slot name="checkbox" :checked="isChecked" />
And the @model doesn't seem to work either...
/**
* Model of the checkbox.
* @model
*/
const isChecked = defineModel()
Is there something I need to configure?