Kocal / jsdoc-vuejs

📖 A JSDoc plugin for documenting .vue files.
MIT License
236 stars 40 forks source link

Add @vue-slot #442

Open DaveTorrey opened 3 years ago

DaveTorrey commented 3 years ago
Q A
Bug fix? yes/no
New feature? yes/no
Tests pass? yes
Fixed tickets #...

This adds @vue-slot along with the other tags. I basically took the same style that you have for event and dropped the type to list a name and a description. Vuese adds default slot content which would be nice to add but I'm not familiar with multiline processing or if it's possible so I'd want to look into it more before adding it.

Ideally this plugin would be able to add a top level "Vue Component" heading that everything would be able to fall under, maybe similar to this example:

https://berniwittmann.github.io/vuese-demo/index.html#/components/TestComponent

originally I was talking about emits before this update but I'm retarded and didn't think about the vue-events you had built