Documentation using vue-component-meta
#985
Labels
documentation
Improvements or additions to documentation
vue-component-meta
#985
Description
Currently the components are documented using Vue Styleguidist and
vue-docgen-cli
.However, they lack compatibility with modern Vue features such as
script setup
with generics anddefineModel
support.vue-component-meta
is a port of the vue language toolkit which can be used to extract information about a component.vue-component-meta
can be used to parse the component props and extract documentation information.Proposed change:
Extend the vue-docgen process by inclduing vue-component-meta information to allow the use of modern vue features without sacrificing documentation flexibility.
(This will make type-based declaration approach with the
withDefaults
compiler macro usable to implement proper conditional types #835)Why Oruga need this feature
Improve documentation and use modern Vue features for documentation.
The text was updated successfully, but these errors were encountered: