pocka / storybook-addon-vue-info

Info addon for Vue components
https://storybook-addon-vue-info.netlify.com/?path=/story/examples-basic-usage--simple-example
MIT License
164 stars 28 forks source link

Add documentation for events and slots #61

Closed steven-pribilinskiy closed 5 years ago

steven-pribilinskiy commented 5 years ago

It would be nice to have a tabbed view for all input and output of a component, not just props.

Describe alternatives you've considered See Vuetify docs for inspiration

image

blaadje commented 5 years ago

Agreed 👍

pocka commented 5 years ago

Implemented at v1.0.0-alpha.6.

You must configure docgen-loader for vue-docgen-api integration. For more detail, see README on v1.0.0. CAUTION: This loader is still in an experiment and may cause bug/crush.

Live demo: https://deploy-preview-66--storybook-addon-vue-info.netlify.com/?selectedKind=Examples%2FBasic%20usage&selectedStory=Simple%20example&full=0&addons=1&stories=1&panelRight=0