Barthélémy Ledoux

Results 234 comments of Barthélémy Ledoux

In this case vue-styleguidist detects all props but not the event. I feel that it would be easy to detect it looking for context.emit.

Hi @Mootook What is the expected output in this case of vue-docgen-api for this component? Do you expect `loadingCardsCount` to be part of the public API of your component? I...

+1 @Mootook `docgen` only exposes whatever is public so no data or internals (that could change if refactoring). The solution could be to render pure JSDoc/TSDoc alongside rendered components. We...

@RDMStreet could you make this claim a little more concrete? I fail to see how "doesn't work at all" makes any sense. This syntax should work naturally without changes: https://github.com/vuejs/rfcs/blob/sfc-improvements/active-rfcs/0000-sfc-script-setup.md#declaring-props-or-additional-options...

@Mootook the issue about JSX was open on vue-next : https://github.com/vuejs/vue-next/issues/1033

There are plans to support this but time is a commodity that young/first fatherhood tends to rarify. If you have time to look into how to implement it I would...

Hello @Juliiii , You are right! This use case does not work because `vue-docgen-api` is a static analysis tool. For speed reasons, It does not try to execute the code...

Thank you @pretzelhammer this is indeed something missing from the library. since vue-docgen-api is a static analysis tool, it would have to: 1. analyze the template to find the usage...

Hello @thomasaull, You are absolutely right. It would be useful to parse wrapped components. I have zero spare time right now so I will do my best to get this...

Hello @S0NN1 What you are seeing here is babel trying to compile react JSX with the vue method. By default, Nuxt assumes that files in its project are Vue or...