Conversation
|
This is definitely a good area for improvement (especially as we are reworking the core docs for v3). We will most likely explore generating API references automatically from TS typings (we can already generate |
|
Thanks for the response. That sounds promising, I will definitely have to take a closer look at this "api-extractor" and the JSON it generates for vue-next. Just to clarify, you are referring to this Microsoft tool, yes? |
|
@sustained yes, |
|
@yyx990803 I think people would also appreciate if Vue 3 docs had examples written both in JS and TS, where you could toggle between those two. |
|
@CyberAP TS code and JS code will look almost the same as most of the APIs provide decent inference. |
Rendered
This RFC relates to the inconsistencies/lack of cohesion between the different VuePress-based API docs for Vue, Vuex, Vue Router, Vue CLI etc.