How to generate documentation for a Vue 3 project (Vite). (Components, pages, props, methods, etc.)
<p>Facing the problem of generating simple documentation for vue projects. Any ideas? </p>
<p>Tried Vue Styleguidist but it doesn't work with Vue 3 and Vite. </p>
I used vue-docgen-cli with a heavy docgen.config.js so that it accepts descriptions containing @component< 的 SFC 文件中的初始注释/代码>. Then you have to annotate the property on the JSDoc and emit it.